Commit 0bac779
committed
[win32] Use deviceZoom in single zoom mapper
This commit replaces the usage of the zoom attribute in methods in the
SingleZoomCoordinateMapper that translate Point and Rectangle from and
to display coordinates to use DPIUtil.getDeviceZoom() instead. The
implementation was not consistent yet, as e.g. in
SingleZoomCoordinateMapper#getCursorLocation or
SingleZoomCoordinateMapper#setCursorLocation DPIUtil.getDeviceZoom() is
already used.1 parent 13934ee commit 0bac779
File tree
1 file changed
+4
-4
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments