mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 13:00:12 -07:00
Fix hotbar placing blocks
This commit is contained in:
parent
44a3d03cee
commit
3ed30d0d02
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
}
|
||||
|
||||
if (CallbackBridge.isGrabbing()) {
|
||||
if (!triggeredLeftMouseButton && Math.abs(initialX - mouse_x) < fingerStillThreshold && Math.abs(initialY - mouse_y) < fingerStillThreshold) {
|
||||
if (!isTouchInHotbar && !triggeredLeftMouseButton && Math.abs(initialX - mouse_x) < fingerStillThreshold && Math.abs(initialY - mouse_y) < fingerStillThreshold) {
|
||||
if (!LauncherPreferences.PREF_DISABLE_GESTURES) {
|
||||
sendMouseButton(LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT, true);
|
||||
sendMouseButton(LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue