mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 21:10:11 -07:00
Optimize mouse movements a very little.
This commit is contained in:
parent
e61c94a0a6
commit
4f0bae9431
1 changed files with 1 additions and 0 deletions
|
|
@ -578,6 +578,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
for(int i = 0; i < ev.getPointerCount(); i++) {
|
||||
if(ev.getToolType(i) == MotionEvent.TOOL_TYPE_MOUSE) {
|
||||
mouseCursorIndex = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(mouseCursorIndex == -1) return false; // we cant consoom that, theres no mice!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue