浏览代码

Fixed PopupMenu not matching parent MenuButton/OptionButton width

Eric M 4 年之前
父节点
当前提交
056fcf3d75
共有 1 个文件被更改,包括 0 次插入1 次删除
  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);
 }