summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2018-03-15 23:13:04 +0100
committerGitHub <noreply@github.com>2018-03-15 23:13:04 +0100
commit99f286e23f5ed434cf8badb9b658262e68d47bcc (patch)
tree913be900993b893c8d01cbd6831fe2c158dab3d6 /scene/main
parentaed2fedd16371293d7fdec2c82b7a5f1bed3f1f2 (diff)
parent166c2bdea7797ea3f95f077ab08eb1e2097f7afb (diff)
Merge pull request #17264 from poke1024/fix-gesture-key-event-accepted
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();