diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-03 09:11:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 09:11:17 +0100 |
commit | 2ee6f42759f8617781458f46cf64b5d97f63d8a8 (patch) | |
tree | 223f14fe8ca5ebdf84f0df784fb341df154e6507 /scene | |
parent | 32fd350254a958bda3a624491bcb01d48748c7c2 (diff) | |
parent | e539b187a5add6951b25b07c9c22826cc8be6b1a (diff) |
Merge pull request #34770 from timothyqiu/layered
Clears initial button mask before activating menu item
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/popup_menu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp index e6333a6179..87f17838cf 100644 --- a/scene/gui/popup_menu.cpp +++ b/scene/gui/popup_menu.cpp @@ -309,6 +309,7 @@ void PopupMenu::_gui_input(const Ref<InputEvent> &p_event) { bool was_during_grabbed_click = during_grabbed_click; during_grabbed_click = false; + initial_button_mask = 0; int over = _get_mouse_over(b->get_position()); |