mirror of
https://github.com/godotengine/godot.git
synced 2025-02-09 04:11:00 +00:00
Fixed behavior of OS.set_window_resizable
Should fix #4428. * Minimize button is not hidden anymore
This commit is contained in:
parent
4e23ba5f37
commit
8fb7280f39
@ -1479,7 +1479,7 @@ void OS_Windows::set_window_resizable(bool p_enabled){
|
||||
if (p_enabled) {
|
||||
SetWindowLongPtr(hWnd, GWL_STYLE, WS_OVERLAPPEDWINDOW | WS_VISIBLE);
|
||||
} else {
|
||||
SetWindowLongPtr(hWnd, GWL_STYLE, WS_CAPTION | WS_POPUPWINDOW | WS_VISIBLE);
|
||||
SetWindowLongPtr(hWnd, GWL_STYLE, WS_CAPTION | WS_MINIMIZEBOX | WS_POPUPWINDOW | WS_VISIBLE);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user