summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-01-04 14:47:32 +0100
committerGitHub <noreply@github.com>2021-01-04 14:47:32 +0100
commit321a4d5e79ec0b94e7cf3b2a9edd38bcb9d99ac1 (patch)
tree4313f364fd4fc67d8492e27f1b6ed036acdd27d1 /scene
parent8bfd96ee3f499035773b750f31e875cd3ef3b1fb (diff)
parent056fcf3d75cd18dd4830fce2c545128d8fbd825f (diff)
Merge pull request #44906 from EricEzaM/PR/popup-menu-fix-not-matching-button-size
Fixed PopupMenu not matching parent MenuButton/OptionButton width
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/popup_menu.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp
index 813a386474..e777e6c26b 100644
--- a/scene/gui/popup_menu.cpp
+++ b/scene/gui/popup_menu.cpp
@@ -1630,7 +1630,6 @@ void PopupMenu::_bind_methods() {
void PopupMenu::popup(const Rect2 &p_bounds) {
moved = Vector2();
popup_time_msec = OS::get_singleton()->get_ticks_msec();
- set_as_minsize();
Popup::popup(p_bounds);
}