mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-19 09:07:06 -04:00
fix(Touchpad): Edgecase scenarios caused the touchpad to still appear
Such a scenario is the demo mode popup to buy the game
This commit is contained in:
@@ -132,7 +132,7 @@ public class Touchpad extends View implements GrabListener, AbstractTouchpad {
|
||||
public void enable(boolean supposed) {
|
||||
if(mDisplayState) return;
|
||||
mDisplayState = true;
|
||||
if(supposed && CallbackBridge.isGrabbing()) return;
|
||||
if(supposed && CallbackBridge.isGrabbing() && LauncherPreferences.PREF_MOUSE_GRAB_FORCE) return;
|
||||
_enable();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user