mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 23:28:52 -04:00
fix(Touchpad): Fix #58
This commit is contained in:
parent
f37ebfada1
commit
9caa9f14c8
@ -71,7 +71,6 @@ public class AndroidPointerCapture implements ViewTreeObserver.OnWindowFocusChan
|
|||||||
public void handleAutomaticCapture() {
|
public void handleAutomaticCapture() {
|
||||||
if (!CallbackBridge.isGrabbing() // Only capture if not in menu and user said so
|
if (!CallbackBridge.isGrabbing() // Only capture if not in menu and user said so
|
||||||
&& !PREF_MOUSE_GRAB_FORCE) {
|
&& !PREF_MOUSE_GRAB_FORCE) {
|
||||||
mTouchpad.disable();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (mHostView.hasPointerCapture()) {
|
if (mHostView.hasPointerCapture()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user