Clears button mask before activating menu item

This commit is contained in:
Haoyu Qiu 2020-01-03 09:35:00 +08:00
parent 71d372a8ab
commit e539b187a5

View File

@ -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());