From 8cf2b39eff094956ca3f07ca00dd7874f8b64044 Mon Sep 17 00:00:00 2001 From: artdeell Date: Tue, 9 Apr 2024 11:31:14 -0400 Subject: [PATCH] Feat[input]: handle ACTION_CANCEL in GUI --- .../pojavlaunch/customcontrols/mouse/InGUIEventProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/mouse/InGUIEventProcessor.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/mouse/InGUIEventProcessor.java index d3178fe3d..0bf746915 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/mouse/InGUIEventProcessor.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/mouse/InGUIEventProcessor.java @@ -46,6 +46,7 @@ public class InGUIEventProcessor implements TouchEventProcessor { } } else performScroll(); break; + case MotionEvent.ACTION_CANCEL: case MotionEvent.ACTION_UP: resetScrollOvershoot(); mTracker.cancelTracking();