Merge pull request #17264 from poke1024/fix-gesture-key-event-accepted

Fix gesture events being blocked
This commit is contained in:
Hein-Pieter van Braam 2018-03-15 23:13:04 +01:00 committed by GitHub
commit 99f286e23f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();