diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2018-03-15 23:13:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 23:13:04 +0100 |
commit | 99f286e23f5ed434cf8badb9b658262e68d47bcc (patch) | |
tree | 913be900993b893c8d01cbd6831fe2c158dab3d6 /scene | |
parent | aed2fedd16371293d7fdec2c82b7a5f1bed3f1f2 (diff) | |
parent | 166c2bdea7797ea3f95f077ab08eb1e2097f7afb (diff) |
Merge pull request #17264 from poke1024/fix-gesture-key-event-accepted
Fix gesture events being blocked
Diffstat (limited to 'scene')
-rw-r--r-- | scene/main/viewport.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 4f702e8ed9..d4ec878bdf 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1934,6 +1934,8 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) { Ref<InputEventGesture> gesture_event = p_event; if (gesture_event.is_valid()) { + gui.key_event_accepted = false; + _gui_cancel_tooltip(); Size2 pos = gesture_event->get_position(); |