1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +00:00

Fixed PopupMenu not matching parent MenuButton/OptionButton width

This commit is contained in:
Eric M
2021-01-04 18:47:09 +10:00
parent ec99c8159d
commit 056fcf3d75

View File

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