mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 21:10:11 -07:00
Clean up code.
This commit is contained in:
parent
876ae5c285
commit
6742d98baf
1 changed files with 2 additions and 4 deletions
|
|
@ -182,8 +182,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
drawerLayout.closeDrawers();
|
||||
return true;
|
||||
};
|
||||
navDrawer.setNavigationItemSelectedListener(
|
||||
gameActionListener);
|
||||
navDrawer.setNavigationItemSelectedListener(gameActionListener);
|
||||
|
||||
this.touchPad = findViewById(R.id.main_touchpad);
|
||||
touchPad.setFocusable(false);
|
||||
|
|
@ -348,8 +347,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
CallbackBridge.sendPrepareGrabInitialPos();
|
||||
|
||||
currentPointerID = e.getPointerId(0);
|
||||
CallbackBridge.mouseX = mouse_x;
|
||||
CallbackBridge.mouseY = mouse_y;
|
||||
CallbackBridge.sendCursorPos(mouse_x, mouse_y);
|
||||
prevX = e.getX();
|
||||
prevY = e.getY();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue