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:
Boulay Mathias 2022-06-06 02:29:39 +02:00
parent 42a565b170
commit 6f1e8e721f

View File

@ -398,7 +398,7 @@ public class MinecraftGLSurface extends View {
}
if(mouseCursorIndex == -1) return false; // we cant consoom that, theres no mice!
if(CallbackBridge.isGrabbing()) {
if(BaseMainActivity.isAndroid8OrHigher()){
if(BaseMainActivity.isAndroid8OrHigher() && !hasPointerCapture()){
requestFocus();
requestPointerCapture();
}