Feature: Variable GUI scale.
GUI scale is now variable from 100% to 500%, and no longer restricted to powers-of-2.
This commit is contained in:
@@ -675,7 +675,7 @@ LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
}
|
||||
|
||||
case WM_DPICHANGED: {
|
||||
auto did_adjust = AdjustGUIZoom();
|
||||
auto did_adjust = AdjustGUIZoom(true);
|
||||
|
||||
/* Resize the window to match the new DPI setting. */
|
||||
RECT *prcNewWindow = (RECT *)lParam;
|
||||
|
||||
Reference in New Issue
Block a user