Improve border stripping/resize.

This commit is contained in:
LunaMoo committed 2019-05-07 01:59:47 +02:00
1 parent 63dcac833e
commit 06e90a74a0
2 files changed
+7 -2

No files matched your search

+4
View File
@@ -723,6 +723,10 @@ namespace MainWindow
AdjustWindowRect(&rc, WS_OVERLAPPEDWINDOW, TRUE);
minmax->ptMinTrackSize.x = rc.right - rc.left;
minmax->ptMinTrackSize.y = rc.bottom - rc.top;
if (g_Config.bDisableWinBorders) {
minmax->ptMinTrackSize.x = portrait ? 272 : 480;
minmax->ptMinTrackSize.y = portrait ? 480 : 272;
}
}
return 0;