1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

Add separate minimize_disabled and maximize_disabled window flags.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-06 17:38:00 +03:00
parent af2c713971
commit f37fb49739
20 changed files with 212 additions and 20 deletions

View File

@@ -448,6 +448,9 @@ AcceptDialog::AcceptDialog() {
set_clamp_to_embedder(true);
set_keep_title_visible(true);
set_flag(FLAG_MINIMIZE_DISABLED, true);
set_flag(FLAG_MAXIMIZE_DISABLED, true);
bg_panel = memnew(Panel);
add_child(bg_panel, false, INTERNAL_MODE_FRONT);