1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +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

@@ -2033,10 +2033,6 @@ String PopupMenu::get_tooltip(const Point2 &p_pos) const {
return items[over].tooltip;
}
void PopupMenu::set_parent_rect(const Rect2 &p_rect) {
parent_rect = p_rect;
}
void PopupMenu::add_autohide_area(const Rect2 &p_area) {
autohide_areas.push_back(p_area);
}