You've already forked godot
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user