mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Ooops I was sending a mouse click as a keyboard press...
This commit is contained in:
parent
573c7c3483
commit
af1f0d678b
@ -386,7 +386,8 @@ public class BaseMainActivity extends LoggableActivity {
|
||||
if (CallbackBridge.isGrabbing()) {
|
||||
if (!triggeredLeftMouseButton && Math.abs(initialX - mouse_x) < fingerStillThreshold && Math.abs(initialY - mouse_y) < fingerStillThreshold) {
|
||||
if (!LauncherPreferences.PREF_DISABLE_GESTURES) {
|
||||
sendKeyPress(LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT);
|
||||
sendMouseButton(LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT, true);
|
||||
sendMouseButton(LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT, false);
|
||||
}
|
||||
}
|
||||
if (!isTouchInHotbar) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user