mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-07 20:30:08 +03:00
Refact, check current view style and scale mode, then update scroll percent (#6613)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1294,7 +1294,10 @@ class CanvasModel with ChangeNotifier {
|
||||
if (refreshMousePos) {
|
||||
parent.target?.inputModel.refreshMousePos();
|
||||
}
|
||||
updateScrollPercent();
|
||||
if (style == kRemoteViewStyleOriginal &&
|
||||
_scrollStyle == ScrollStyle.scrollbar) {
|
||||
updateScrollPercent();
|
||||
}
|
||||
}
|
||||
|
||||
updateScrollStyle() async {
|
||||
|
||||
Reference in New Issue
Block a user