fix: Show My Cursor freezes in View Only mode when remote user mo... (#15936)

This commit is contained in:
Robert Markovski
2026-08-24 11:21:11 +02:00
committed by GitHub
parent 7423dced37
commit a3bab27a2a
2 changed files with 6 additions and 0 deletions

View File

@@ -2498,6 +2498,7 @@ class CanvasModel with ChangeNotifier {
}
void updateLocalCursor(double x, double y) {
if (parent.target?.ffiModel.viewOnly == true) return;
// If keyboard is not permitted, do not move cursor when mouse is moving.
if (parent.target != null && parent.target!.ffiModel.keyboard) {
// Draw cursor if is not desktop.