Merge pull request #34770 from timothyqiu/layered

Clears initial button mask before activating menu item
This commit is contained in:
Rémi Verschelde 2020-01-03 09:11:17 +01:00 committed by GitHub
commit 2ee6f42759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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