Feat[input]: handle ACTION_CANCEL in GUI

This commit is contained in:
artdeell 2024-04-09 11:31:14 -04:00 committed by Maksim Belov
parent 0512ebb6b8
commit 8cf2b39eff

View File

@ -46,6 +46,7 @@ public class InGUIEventProcessor implements TouchEventProcessor {
}
} else performScroll();
break;
case MotionEvent.ACTION_CANCEL:
case MotionEvent.ACTION_UP:
resetScrollOvershoot();
mTracker.cancelTracking();