Commit d675f85
[win32] Prevent loop with fix swt.autoScale value
This commit adapts the extraction of the correct image handle in the
windows implementation when using an Image with a GC. As the image will
always pass the exact zoom it needs to the GC using the autoscaled zoom
together with an Image can lead to unexpected results when fixed values
for swt.autoScale are passed, e.g. scaling ImageData can result in
endless loops.1 parent dd30aff commit d675f85
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3909 | 3909 | | |
3910 | 3910 | | |
3911 | 3911 | | |
3912 | | - | |
| 3912 | + | |
3913 | 3913 | | |
3914 | 3914 | | |
3915 | 3915 | | |
| |||
0 commit comments