Browse Source

Fixed PopupMenu not matching parent MenuButton/OptionButton width

Eric M 4 years ago
parent
commit
056fcf3d75
1 changed files with 0 additions and 1 deletions
  1. 0 1
      scene/gui/popup_menu.cpp

+ 0 - 1
scene/gui/popup_menu.cpp

@@ -1636,7 +1636,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);
 }