Skip to content

Commit 0442103

Browse files
authored
Merge branch 'eclipse-platform:master' into master
2 parents 46926f6 + 925a294 commit 0442103

File tree

1 file changed

+5
-0
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics

1 file changed

+5
-0
lines changed

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2107,6 +2107,11 @@ public Collection<Integer> getPreservedZoomLevels() {
21072107
return Collections.singleton(baseZoom);
21082108
}
21092109

2110+
@Override
2111+
protected long configureGCData(GCData data) {
2112+
return configureGC(data, DPIUtil.getDeviceZoom());
2113+
}
2114+
21102115
@Override
21112116
protected Rectangle getBounds(int zoom) {
21122117
Rectangle rectangle = new Rectangle(0, 0, width, height);

0 commit comments

Comments
 (0)