Merge pull request #17264 from poke1024/fix-gesture-key-event-accepted
Fix gesture events being blocked
This commit is contained in:
commit
99f286e23f
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue