mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 15:48:26 -04:00
Use scaled x,y for touch hover
This commit is contained in:
parent
f1e4f6ea4c
commit
f30b4a23e0
@ -445,7 +445,7 @@ public class BaseMainActivity extends LoggableActivity {
|
||||
scrollInitialX = (int)mouse_x;
|
||||
scrollInitialY = (int)mouse_y;
|
||||
} else if (!CallbackBridge.isGrabbing() && e.getPointerCount() == 1) { //Touch hover
|
||||
CallbackBridge.sendCursorPos(e.getX(), e.getY());
|
||||
CallbackBridge.sendCursorPos(mouse_x, mouse_y);
|
||||
prevX = e.getX();
|
||||
prevY = e.getY();
|
||||
} else if (!isTouchInHotbar) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user