mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Improve border stripping/resize.
This commit is contained in:
1 parent
63dcac833e
commit
06e90a74a0
2 files changed
+7
-2
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user