Preserve the macOS cursor wire alpha format for older controllers

This commit is contained in:
fufesou
2026-09-12 21:47:08 +08:00
parent 371e5e8f2d
commit afdd1d5c9d
7 changed files with 85 additions and 136 deletions

View File

@@ -67,8 +67,8 @@ void main() {
for (final testCase in <(String, String?, List<int>)>[
(kPeerPlatformMacOS, null, [64, 32, 16, 128]),
(kPeerPlatformMacOS, '0', [64, 32, 16, 128]),
(kPeerPlatformMacOS, '1', [32, 16, 8, 128]),
(kPeerPlatformMacOS, '2', [32, 16, 8, 128]),
(kPeerPlatformMacOS, '1', [64, 32, 16, 128]),
(kPeerPlatformMacOS, '2', [64, 32, 16, 128]),
(kPeerPlatformLinux, '0', [32, 16, 8, 128]),
]) {
for (final dpr in [1.0, 2.0]) {