mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Remove broken scroll gesture on Android
This commit is contained in:
parent
c18d0f2035
commit
076638f13b
6 changed files with 0 additions and 36 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue