Activate native cursors after successful registration retries

This commit is contained in:
fufesou
2026-09-13 15:52:24 +08:00
parent a87d9c1082
commit 20ede1a85f
3 changed files with 7 additions and 4 deletions

View File

@@ -58,6 +58,9 @@ MouseCursor buildCursorOfCache(
}));
cursor.addKey(key);
}
return FlutterCustomMemoryImageCursor(key: key);
return FlutterCustomMemoryImageCursor(
key: key,
registrationToken: custom_cursor_manager.CursorManager.instance
.registrationTokenFor(key));
}
}