mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
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) {
|
||||
moved = Vector2();
|
||||
popup_time_msec = OS::get_singleton()->get_ticks_msec();
|
||||
set_as_minsize();
|
||||
Popup::popup(p_bounds);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user