Skip to content

Commit c4c366d

Browse files
committed
Revert "fix(Touchpad): Edgecase scenarios caused the touchpad to still appear"
This reverts commit 7fe4230. This commit is a bug, a mistake in making the virtual cursor stuff.
1 parent f37ebfa commit c4c366d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/mouse

app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/mouse/Touchpad.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void applyMotionVector(float x, float y) {
132132
public void enable(boolean supposed) {
133133
if(mDisplayState) return;
134134
mDisplayState = true;
135-
if(supposed && CallbackBridge.isGrabbing() && LauncherPreferences.PREF_MOUSE_GRAB_FORCE) return;
135+
if(supposed && CallbackBridge.isGrabbing()) return;
136136
_enable();
137137
}
138138

0 commit comments

Comments
 (0)