mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-18 02:10:59 +03:00
Keep edge-scroll fractions valid after clamped jumps
This commit is contained in:
@@ -2696,6 +2696,8 @@ class CanvasModel with ChangeNotifier {
|
||||
|
||||
setScrollPercent(scrollPixelPercent.x, scrollPixelPercent.y);
|
||||
pushScrollPositionToUI(scrollPixel.x, scrollPixel.y);
|
||||
// A no-op jump emits no notification to refresh the actual scroll fractions.
|
||||
updateScrollPercent();
|
||||
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user