Merge pull request #103125 from Giganzo/editor-object-selector-popup

Fix EditorObjectSelector popup size
This commit is contained in:
Rémi Verschelde 2025-06-12 23:32:32 +02:00
commit 7842a042ae
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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() {