mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Clears button mask before activating menu item
This commit is contained in:
parent
71d372a8ab
commit
e539b187a5
@ -309,6 +309,7 @@ void PopupMenu::_gui_input(const Ref<InputEvent> &p_event) {
|
|||||||
|
|
||||||
bool was_during_grabbed_click = during_grabbed_click;
|
bool was_during_grabbed_click = during_grabbed_click;
|
||||||
during_grabbed_click = false;
|
during_grabbed_click = false;
|
||||||
|
initial_button_mask = 0;
|
||||||
|
|
||||||
int over = _get_mouse_over(b->get_position());
|
int over = _get_mouse_over(b->get_position());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user