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 1984e06 commit 3dcc0f5Copy full SHA for 3dcc0f5
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
@@ -2669,7 +2669,7 @@ int getSystemMetrics(int nIndex) {
2669
* DPI dependent metrics were introduced after 2016 version of windows 10
2670
*/
2671
if (OS.WIN32_BUILD >= OS.WIN32_BUILD_WIN10_1607) {
2672
- return OS.GetSystemMetricsForDpi(nIndex, DPIUtil.mapZoomToDPI(getZoom()));
+ return OS.GetSystemMetricsForDpi(nIndex, DPIUtil.mapZoomToDPI(nativeZoom));
2673
}
2674
return OS.GetSystemMetrics(nIndex);
2675
0 commit comments