Commit ff25c35
committed
[Win32] Fix shell zoom when disabling autoscaling on shell
Recent simplifications to how autoscaling can be disabled for controls
leads to a wrong native zoom being reported via getData("SHELL_ZOOM")
when autoscaling is disabled at the shell itself. Instead of the actual
zoom it always reports 100 because the shell's nativeZoom is overwritten
when autoscaling is disabled for the shell.
This change adapts the way in which the shell zoom is retrieved when
calling getData("SHELL_ZOOM") to be independent of the stored nativeZoom
value.1 parent ac18a18 commit ff25c35
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1282 | 1282 | | |
1283 | 1283 | | |
1284 | 1284 | | |
1285 | | - | |
| 1285 | + | |
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
| |||
0 commit comments