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:
@ -98,7 +98,6 @@ class PopupMenu : public Popup {
|
||||
bool during_grabbed_click = false;
|
||||
int mouse_over = -1;
|
||||
int submenu_over = -1;
|
||||
Rect2 parent_rect;
|
||||
String _get_accel_text(const Item &p_item) const;
|
||||
int _get_mouse_over(const Point2 &p_over) const;
|
||||
virtual Size2 _get_contents_minimum_size() const override;
|
||||
@ -292,8 +291,6 @@ public:
|
||||
|
||||
void clear();
|
||||
|
||||
void set_parent_rect(const Rect2 &p_rect);
|
||||
|
||||
virtual String get_tooltip(const Point2 &p_pos) const;
|
||||
|
||||
void add_autohide_area(const Rect2 &p_area);
|
||||
|
||||
Reference in New Issue
Block a user