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:
commit
321a4d5e79
|
@ -1630,7 +1630,6 @@ void PopupMenu::_bind_methods() {
|
||||||
void PopupMenu::popup(const Rect2 &p_bounds) {
|
void PopupMenu::popup(const Rect2 &p_bounds) {
|
||||||
moved = Vector2();
|
moved = Vector2();
|
||||||
popup_time_msec = OS::get_singleton()->get_ticks_msec();
|
popup_time_msec = OS::get_singleton()->get_ticks_msec();
|
||||||
set_as_minsize();
|
|
||||||
Popup::popup(p_bounds);
|
Popup::popup(p_bounds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue