mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
Still trying to fix white focus
This commit is contained in:
parent
5da7fbb676
commit
ba017126ea
1 changed files with 3 additions and 1 deletions
|
|
@ -170,6 +170,8 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
// Mouse pointer part
|
||||
//this.mouseToggleButton = findButton(R.id.control_togglemouse);
|
||||
this.touchPad = (LinearLayout) findViewById(R.id.main_touchpad);
|
||||
touchPad.setFocusable(false);
|
||||
|
||||
this.mousePointer = (ImageView) findViewById(R.id.main_mouse_pointer);
|
||||
this.mousePointer.post(new Runnable(){
|
||||
|
||||
|
|
@ -321,7 +323,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
minecraftGLView.setFocusable(false);
|
||||
minecraftGLView.setFocusableInTouchMode(false);
|
||||
// minecraftGLView.setEGLContextClientVersion(2);
|
||||
|
||||
|
||||
glTouchListener = new OnTouchListener(){
|
||||
private boolean isTouchInHotbar = false;
|
||||
private int hotbarX, hotbarY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue