Skip to content

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

fix(flutter): initialize the cursor hotspot y from its own origin (#15898)

Mariano Abad630b531108f4
diff --git a/flutter/lib/models/model.dart b/flutter/lib/models/model.dart
index 74f72021b..129f67dea 100644
--- a/flutter/lib/models/model.dart
+++ b/flutter/lib/models/model.dart
@@ -2842,7 +2842,7 @@ class CursorData {
required this.width,
required this.height,
}) : hotx = hotxOrigin * scale,
- hoty = hotxOrigin * scale;
+ hoty = hotyOrigin * scale;
int _doubleToInt(double v) => (v * 10e6).round().toInt();