Commit 56379d5
[Win32] Improve pixel-to-point conversion precision
With recent changes to the rounding of pixel-to-point conversions the
calculated sizes became too small in several use cases, leading to
cut-off elements. This change adapts the rounding method to reduce the
number of relevant cut-offs.1 parent c3318b8 commit 56379d5
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments