summaryrefslogtreecommitdiff
path: root/scene/gui/dialogs.cpp
diff options
context:
space:
mode:
authordarth negative hunter <73083466+thenegativehunter2@users.noreply.github.com>2021-08-30 13:04:14 +0430
committerGitHub <noreply@github.com>2021-08-30 13:04:14 +0430
commit24066b3c7ac9277348ccc2aabb7235cde1db88bd (patch)
tree66c5ae11bd21d9bf15e505399aa53e8de1d2dfa7 /scene/gui/dialogs.cpp
parent3afabb8f17c1b031a28ce87d40024078a6ee69b2 (diff)
parent61d681cfb9a89f5c32a6c85e8f1cf53360c6eddb (diff)
Merge branch 'godotengine:master' into master_texture_array_normal_added
Diffstat (limited to 'scene/gui/dialogs.cpp')
-rw-r--r--scene/gui/dialogs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp
index da858e8e83..5d98aaa698 100644
--- a/scene/gui/dialogs.cpp
+++ b/scene/gui/dialogs.cpp
@@ -319,7 +319,7 @@ AcceptDialog::AcceptDialog() {
set_clamp_to_embedder(true);
bg = memnew(Panel);
- add_child(bg);
+ add_child(bg, false, INTERNAL_MODE_FRONT);
hbc = memnew(HBoxContainer);
@@ -331,9 +331,9 @@ AcceptDialog::AcceptDialog() {
label->set_anchor(SIDE_BOTTOM, Control::ANCHOR_END);
label->set_begin(Point2(margin, margin));
label->set_end(Point2(-margin, -button_margin - 10));
- add_child(label);
+ add_child(label, false, INTERNAL_MODE_FRONT);
- add_child(hbc);
+ add_child(hbc, false, INTERNAL_MODE_FRONT);
hbc->add_spacer();
ok = memnew(Button);