mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 21:10:11 -07:00
Fix in-menu behavior
This commit is contained in:
parent
e8e4089e91
commit
a3fb8317b6
1 changed files with 5 additions and 5 deletions
|
|
@ -347,7 +347,10 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
|
||||
// System.out.println("Pre touch, isTouchInHotbar=" + Boolean.toString(isTouchInHotbar) + ", action=" + MotionEvent.actionToString(e.getActionMasked()));
|
||||
|
||||
|
||||
if(!CallbackBridge.isGrabbing()) {
|
||||
mouse_x = (int) (e.getX() * scaleFactor);
|
||||
mouse_y = (int) (e.getY() * scaleFactor);
|
||||
}
|
||||
|
||||
int hudKeyHandled = handleGuiBar((int)e.getX(), (int)e.getY());
|
||||
if (!CallbackBridge.isGrabbing() && gestureDetector.onTouchEvent(e)) {
|
||||
|
|
@ -461,10 +464,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
prevY = e.getY();
|
||||
}
|
||||
}
|
||||
if(!CallbackBridge.isGrabbing()) {
|
||||
mouse_x = (int) (e.getX() * scaleFactor);
|
||||
mouse_y = (int) (e.getY() * scaleFactor);
|
||||
}
|
||||
|
||||
|
||||
|
||||
debugText.setText(CallbackBridge.DEBUG_STRING.toString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue