mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 23:59:21 -04:00
Fix camera jumps when switch to grab state while moving finger
This commit is contained in:
parent
f7b2c7b463
commit
f1e4f6ea4c
@ -446,6 +446,8 @@ public class BaseMainActivity extends LoggableActivity {
|
||||
scrollInitialY = (int)mouse_y;
|
||||
} else if (!CallbackBridge.isGrabbing() && e.getPointerCount() == 1) { //Touch hover
|
||||
CallbackBridge.sendCursorPos(e.getX(), e.getY());
|
||||
prevX = e.getX();
|
||||
prevY = e.getY();
|
||||
} else if (!isTouchInHotbar) {
|
||||
//Camera movement
|
||||
if(CallbackBridge.isGrabbing()){
|
||||
|
Loading…
x
Reference in New Issue
Block a user