Make switch_on_hover work on embedded windows

This commit is contained in:
Michael Alexsander 2021-07-26 14:23:48 -03:00
parent 738205d923
commit 478b6d6a13
2 changed files with 35 additions and 12 deletions

View file

@ -42,6 +42,8 @@ class MenuButton : public Button {
bool disable_shortcuts = false;
PopupMenu *popup;
Vector2i mouse_pos_adjusted;
Array _get_items() const;
void _set_items(const Array &p_items);