We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e1922 commit 4621729Copy full SHA for 4621729
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java
@@ -519,7 +519,7 @@ public Point getDPI () {
519
int dpiX = OS.GetDeviceCaps (hDC, OS.LOGPIXELSX);
520
int dpiY = OS.GetDeviceCaps (hDC, OS.LOGPIXELSY);
521
internal_dispose_GC (hDC, null);
522
- return DPIUtil.scaleDown(new Point (dpiX, dpiY), getDeviceZoom());
+ return DPIUtil.scaleDown(new Point (dpiX, dpiY), DPIUtil.getZoomForAutoscaleProperty(getDeviceZoom()));
523
}
524
525
/**
0 commit comments