Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix, mobile curosr (hotx,hoty)

fufesou8cc5aee5282f
diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dart
index f5b6270f9..b38adf63e 100644
--- a/flutter/lib/mobile/pages/remote_page.dart
+++ b/flutter/lib/mobile/pages/remote_page.dart
@@ -740,8 +740,8 @@ class CursorPaint extends StatelessWidget {
return CustomPaint(
painter: ImagePainter(
image: m.image ?? preDefaultCursor.image,
- x: m.x * s - hotx * s + c.x,
- y: m.y * s - hoty * s + c.y - adjust,
+ x: m.x * s - hotx + c.x,
+ y: m.y * s - hoty + c.y - adjust,
scale: 1),
);
}