mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
GUI: improve the maximize auto-detection a bit
This commit is contained in:
parent
f057581b27
commit
ff33eed2fd
1 changed files with 1 additions and 1 deletions
|
@ -3613,7 +3613,7 @@ bool FurnaceGUI::init() {
|
|||
}
|
||||
|
||||
if (SDL_GetDisplayUsableBounds(SDL_GetWindowDisplayIndex(sdlWin),&displaySize)==0) {
|
||||
if (scrW>((displaySize.w/dpiScale)-32) && scrH>((displaySize.h/dpiScale)-32)) {
|
||||
if (scrW>((displaySize.w/dpiScale)-48) && scrH>((displaySize.h/dpiScale)-64)) {
|
||||
// maximize
|
||||
SDL_MaximizeWindow(sdlWin);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue