mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-19 09:39:25 -04:00
Removed useless instructions since they are supplented by others in the Motion Event.
This commit is contained in:
parent
6742d98baf
commit
8c17dff2d7
@ -375,11 +375,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||||||
case MotionEvent.ACTION_UP: // 1
|
case MotionEvent.ACTION_UP: // 1
|
||||||
case MotionEvent.ACTION_CANCEL: // 3
|
case MotionEvent.ACTION_CANCEL: // 3
|
||||||
if (!isTouchInHotbar) {
|
if (!isTouchInHotbar) {
|
||||||
CallbackBridge.mouseX = mouse_x;
|
|
||||||
CallbackBridge.mouseY = mouse_y;
|
|
||||||
|
|
||||||
// -TODO uncomment after fix wrong trigger
|
// -TODO uncomment after fix wrong trigger
|
||||||
CallbackBridge.sendCursorPos(mouse_x, mouse_y);
|
|
||||||
if (!rightOverride) CallbackBridge.mouseLeft = false;
|
if (!rightOverride) CallbackBridge.mouseLeft = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user