From 076638f13b1f28d4ebffea8c74ac84fc1aa99c80 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Tue, 21 Jun 2022 17:14:20 +0100 Subject: Remove broken scroll gesture on Android --- platform/android/java_godot_lib_jni.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'platform/android/java_godot_lib_jni.cpp') diff --git a/platform/android/java_godot_lib_jni.cpp b/platform/android/java_godot_lib_jni.cpp index de666f1b11..eaffe14b13 100644 --- a/platform/android/java_godot_lib_jni.cpp +++ b/platform/android/java_godot_lib_jni.cpp @@ -305,15 +305,6 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_doubleTap(JNIEnv *env input_handler->process_double_tap(p_button_mask, Point2(p_x, p_y)); } -// Called on the UI thread -JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_scroll(JNIEnv *env, jclass clazz, jint p_x, jint p_y) { - if (step.get() <= 0) { - return; - } - - input_handler->process_scroll(Point2(p_x, p_y)); -} - // Called on the UI thread JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_joybutton(JNIEnv *env, jclass clazz, jint p_device, jint p_button, jboolean p_pressed) { if (step.get() <= 0) { -- cgit v1.2.3