mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Fix minimize button missing in non-resizable projects.
Fixes https://github.com/godotengine/godot/issues/77603. On Windows, disabling the 'resizable' flag on the project settings would also remove the minimize button from the window.
This commit is contained in:
parent
5b5186383e
commit
c819da7fdb
@ -1325,7 +1325,7 @@ void DisplayServerWindows::_get_window_style(bool p_main_window, bool p_fullscre
|
||||
r_style = WS_OVERLAPPEDWINDOW;
|
||||
}
|
||||
} else {
|
||||
r_style = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU;
|
||||
r_style = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user