mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-08-19 21:17:55 +08:00
flutter_desktop: fix local cursor (hotx,hoty) offset
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@ -619,7 +619,7 @@ class CursorData {
|
||||
int _doubleToInt(double v) => (v * 10e6).round().toInt();
|
||||
|
||||
String key(double scale) =>
|
||||
'${peerId}_${id}_${_doubleToInt(hotx)}_${_doubleToInt(hoty)}_${_doubleToInt(width * scale)}_${_doubleToInt(height * scale)}';
|
||||
'${peerId}_${id}_${_doubleToInt(width * scale)}_${_doubleToInt(height * scale)}';
|
||||
}
|
||||
|
||||
class CursorModel with ChangeNotifier {
|
||||
|
Reference in New Issue
Block a user