mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix EditorObjectSelector popup size
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user