mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
Update the icons & fix the alpha versions not starting bug
This commit is contained in:
parent
7c2819d7c2
commit
2c4619c462
11 changed files with 44 additions and 7 deletions
|
|
@ -365,7 +365,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
// System.out.println("Pre touch, isTouchInHotbar=" + Boolean.toString(isTouchInHotbar) + ", action=" + MotionEvent.actionToString(e.getActionMasked()));
|
||||
/* int x = ((int) e.getX()) / scaleFactor;
|
||||
int y = ((int) e.getY()) / scaleFactor;*/
|
||||
if(e.getHistorySize() > 0) {
|
||||
if(e.getHistorySize() > 0 && CallbackBridge.isGrabbing()) {
|
||||
x += (int)(e.getX() - e.getHistoricalX(0));
|
||||
y += (int)(e.getY() - e.getHistoricalY(0));
|
||||
}
|
||||
|
|
@ -373,6 +373,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
x = (int) e.getX();
|
||||
y = (int) e.getY();
|
||||
}
|
||||
|
||||
int hudKeyHandled = handleGuiBar((int)e.getX(), (int)e.getY());
|
||||
if (!CallbackBridge.isGrabbing() && gestureDetector.onTouchEvent(e)) {
|
||||
if (hudKeyHandled != -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue