Remove broken scroll gesture on Android

This commit is contained in:
Marcel Admiraal 2022-06-21 17:14:20 +01:00
parent c18d0f2035
commit 076638f13b
6 changed files with 0 additions and 36 deletions

View file

@ -381,13 +381,3 @@ MouseButton AndroidInputHandler::_android_button_mask_to_godot_button_mask(int a
return godot_button_mask;
}
void AndroidInputHandler::process_scroll(Point2 p_pos) {
Ref<InputEventPanGesture> ev;
ev.instantiate();
_set_key_modifier_state(ev);
ev->set_position(p_pos);
ev->set_delta(p_pos - scroll_prev_pos);
Input::get_singleton()->parse_input_event(ev);
scroll_prev_pos = p_pos;
}