mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-09-18 11:11:03 -04:00
Only consume pointer events when the scrollbar is visible and touch hits the thumb, preventing edge touches from teleporting the scroll position when the scrollbar is invisible. In addition, compute drag fraction relative to the initial grab offset within the thumb to prevent jump-on-grab. Assisted-by: Gemini 3.8 Flash