diff options
author | Fredia Huya-Kouadio <fhuya@fb.com> | 2022-06-25 18:48:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 18:48:14 -0700 |
commit | 6a7471b204d0cb4dfc9c89c539b3bb516444382b (patch) | |
tree | b080f454d7ab786f23d2f18d88aa175b1cd730b3 /platform/android/java_godot_lib_jni.cpp | |
parent | 295a79c12540f0cb26e73404b641cd4848a2c1a7 (diff) | |
parent | 076638f13b1f28d4ebffea8c74ac84fc1aa99c80 (diff) |
Merge pull request #62289 from madmiraal/fix-61816
Remove broken scroll gesture on Android
Diffstat (limited to 'platform/android/java_godot_lib_jni.cpp')
-rw-r--r-- | platform/android/java_godot_lib_jni.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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 @@ -306,15 +306,6 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_doubleTap(JNIEnv *env } // 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) { return; |