Skip to content

Commit

Permalink
Missing scrollbars in compare editor
Browse files Browse the repository at this point in the history
Scrollbars are missing on non default screen scaling [Blocker for 4.33
M3 build]
  • Loading branch information
ShahzaibIbrahim authored and merks committed Aug 10, 2024
1 parent 1984e06 commit 3dcc0f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,7 @@ int getSystemMetrics(int nIndex) {
* DPI dependent metrics were introduced after 2016 version of windows 10
*/
if (OS.WIN32_BUILD >= OS.WIN32_BUILD_WIN10_1607) {
return OS.GetSystemMetricsForDpi(nIndex, DPIUtil.mapZoomToDPI(getZoom()));
return OS.GetSystemMetricsForDpi(nIndex, DPIUtil.mapZoomToDPI(nativeZoom));
}
return OS.GetSystemMetrics(nIndex);
}
Expand Down

0 comments on commit 3dcc0f5

Please sign in to comment.