Fix EditorObjectSelector popup size
This commit is contained in:
parent
03bd8ba9c2
commit
d8376e6256
@ -99,10 +99,7 @@ void EditorObjectSelector::_show_popup() {
|
||||
Point2 gp = get_screen_position();
|
||||
gp.y += size.y;
|
||||
|
||||
sub_objects_menu->set_position(gp);
|
||||
sub_objects_menu->set_size(Size2(size.width, 1));
|
||||
|
||||
sub_objects_menu->popup();
|
||||
sub_objects_menu->popup(Rect2(gp, Size2(size.width, 0)));
|
||||
}
|
||||
|
||||
void EditorObjectSelector::_about_to_show() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user