mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 07:05:40 -04:00
Pottential fix for double mouse speed
Turns out the change in behavior may not be fully commiting. Thinking about it, it may fix some double click issues.
This commit is contained in:
parent
42a565b170
commit
6f1e8e721f
@ -398,7 +398,7 @@ public class MinecraftGLSurface extends View {
|
|||||||
}
|
}
|
||||||
if(mouseCursorIndex == -1) return false; // we cant consoom that, theres no mice!
|
if(mouseCursorIndex == -1) return false; // we cant consoom that, theres no mice!
|
||||||
if(CallbackBridge.isGrabbing()) {
|
if(CallbackBridge.isGrabbing()) {
|
||||||
if(BaseMainActivity.isAndroid8OrHigher()){
|
if(BaseMainActivity.isAndroid8OrHigher() && !hasPointerCapture()){
|
||||||
requestFocus();
|
requestFocus();
|
||||||
requestPointerCapture();
|
requestPointerCapture();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user