fix(cursor): delegate native image scaling to cursor plugin

Use the original Flutter image and source hotspot with explicit DPR, retaining the existing view and minimum-size policies. Pin the plugin implementation from rustdesk-org/flutter_custom_cursor#1.
This commit is contained in:
fufesou
2026-09-12 01:40:26 +08:00
parent 8da629c57d
commit 1061670368
5 changed files with 155 additions and 29 deletions

View File

@@ -62,8 +62,8 @@ dependencies:
freezed_annotation: ^2.0.3
flutter_custom_cursor:
git:
url: https://github.com/rustdesk-org/flutter_custom_cursor
ref: db63b785c38153603e9fb84b50d3ec46f0d7e05e
url: https://github.com/fufesou/flutter_custom_cursor
ref: aa9e68a38b2efad7411d39ddb1a762cb2c6170eb
window_size:
git:
url: https://github.com/21pages/flutter-desktop-embedding.git