summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorBernhard Liebl <Bernhard.Liebl@gmx.org>2018-03-04 22:19:10 +0100
committerBernhard Liebl <Bernhard.Liebl@gmx.org>2018-03-04 22:19:10 +0100
commit166c2bdea7797ea3f95f077ab08eb1e2097f7afb (patch)
treeba29f9c303241ba1555844a8a7ecfaea10598563 /scene/main
parent79a07527ab87de385bf8fd8f7f9d7f09e55a77dc (diff)
Fix gesture events being blocked
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/viewport.cpp2
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();