1
0
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:
Markus Sauermann
2023-06-15 11:42:28 +02:00
parent 33957aee69
commit 840e2b14f3
5 changed files with 0 additions and 10 deletions

View File

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