mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-18 15:53:00 +08:00
to-do: adjust rather then reset
This commit is contained in:
parent
60f48c5326
commit
9c532c507b
@ -163,7 +163,6 @@ class FfiModel with ChangeNotifier {
|
||||
_display.width = int.parse(evt['width']);
|
||||
_display.height = int.parse(evt['height']);
|
||||
FFI.cursorModel.updateDisplayOrigin(_display.x, _display.y);
|
||||
FFI.canvasModel.resetOffset();
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
@ -435,6 +434,7 @@ class CursorModel with ChangeNotifier {
|
||||
_x = x;
|
||||
_y = y;
|
||||
FFI.moveMouse(x, y);
|
||||
FFI.canvasModel.resetOffset();
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user