Removed useless instructions since they are supplented by others in the Motion Event.

This commit is contained in:
SerpentSpirale 2021-06-18 22:35:35 +02:00
parent 6742d98baf
commit 8c17dff2d7

View File

@ -375,11 +375,7 @@ public class BaseMainActivity extends LoggableActivity {
case MotionEvent.ACTION_UP: // 1
case MotionEvent.ACTION_CANCEL: // 3
if (!isTouchInHotbar) {
CallbackBridge.mouseX = mouse_x;
CallbackBridge.mouseY = mouse_y;
// -TODO uncomment after fix wrong trigger
CallbackBridge.sendCursorPos(mouse_x, mouse_y);
if (!rightOverride) CallbackBridge.mouseLeft = false;
}