Commit 69a577c
Fix incorrect cursor scaling by using autoscale zoom
Previously, custom cursors were scaled using the raw device zoom
(getNativeZoom),
which could result in mismatched sizes on high-DPI displays. This change
replaces
it with DPIUtil.getZoomForAutoscaleProperty to align cursor scaling with
the rest
of the UI.
Fixes #23081 parent 641b5a1 commit 69a577c
File tree
4 files changed
+5
-5
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
4 files changed
+5
-5
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5480 | 5480 | | |
5481 | 5481 | | |
5482 | 5482 | | |
5483 | | - | |
| 5483 | + | |
5484 | 5484 | | |
5485 | 5485 | | |
5486 | 5486 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2651 | 2651 | | |
2652 | 2652 | | |
2653 | 2653 | | |
2654 | | - | |
| 2654 | + | |
2655 | 2655 | | |
2656 | 2656 | | |
2657 | 2657 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
| 826 | + | |
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| |||
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
895 | | - | |
| 895 | + | |
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4663 | 4663 | | |
4664 | 4664 | | |
4665 | 4665 | | |
4666 | | - | |
| 4666 | + | |
4667 | 4667 | | |
4668 | 4668 | | |
4669 | 4669 | | |
| |||
0 commit comments