Merge pull request #44906 from EricEzaM/PR/popup-menu-fix-not-matching-button-size

Fixed PopupMenu not matching parent MenuButton/OptionButton width
This commit is contained in:
Rémi Verschelde
2021-01-04 14:47:32 +01:00
committed by GitHub

View File

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