diff options
author | Bernhard Liebl <Bernhard.Liebl@gmx.org> | 2018-03-04 22:19:10 +0100 |
---|---|---|
committer | Bernhard Liebl <Bernhard.Liebl@gmx.org> | 2018-03-04 22:19:10 +0100 |
commit | 166c2bdea7797ea3f95f077ab08eb1e2097f7afb (patch) | |
tree | ba29f9c303241ba1555844a8a7ecfaea10598563 | |
parent | 79a07527ab87de385bf8fd8f7f9d7f09e55a77dc (diff) |
Fix gesture events being blocked
-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(); |