mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -04:00
Fix touchpad mouse crash
This commit is contained in:
parent
4a3a046e95
commit
3a6c8cf893
@ -78,9 +78,13 @@ public class Touchpad extends FrameLayout {
|
||||
Thread isGrabbingThread = new Thread(() -> {
|
||||
while(true){
|
||||
if(!displayState || CallbackBridge.isGrabbing()){
|
||||
disable();
|
||||
post(() -> disable());
|
||||
|
||||
}else {
|
||||
post(() -> {
|
||||
if(displayState) enable();
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user