You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Remove unused variable PopupMenu::parent_rect
This private variable is not read anywhere. Remove it and all places, where it is set.
This commit is contained in:
@@ -100,7 +100,6 @@ void EditorObjectSelector::_show_popup() {
|
||||
|
||||
sub_objects_menu->set_position(gp);
|
||||
sub_objects_menu->set_size(Size2(size.width, 1));
|
||||
sub_objects_menu->set_parent_rect(Rect2(Point2(gp - sub_objects_menu->get_position()), size));
|
||||
|
||||
sub_objects_menu->take_mouse_focus();
|
||||
sub_objects_menu->popup();
|
||||
|
||||
Reference in New Issue
Block a user