mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Optimize mouse movements a very little.
This commit is contained in:
parent
e61c94a0a6
commit
4f0bae9431
@ -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…
x
Reference in New Issue
Block a user