mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-02 22:35:55 +01:00
Fix regression in touch input handling.
This commit is contained in:
parent
e400bc3b48
commit
37961b1990
@ -2250,12 +2250,12 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
|
|||||||
touch_event->set_position(pos);
|
touch_event->set_position(pos);
|
||||||
|
|
||||||
_gui_call_input(over, touch_event);
|
_gui_call_input(over, touch_event);
|
||||||
}
|
|
||||||
set_input_as_handled();
|
set_input_as_handled();
|
||||||
gui.touch_focus.erase(touch_index);
|
gui.touch_focus.erase(touch_index);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Ref<InputEventGesture> gesture_event = p_event;
|
Ref<InputEventGesture> gesture_event = p_event;
|
||||||
if (gesture_event.is_valid()) {
|
if (gesture_event.is_valid()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user