feat: smooth progress bar scrubbing with touch drag support
- initProgressScrub() adds touchstart/move/end + mousedown drag to both the player bar and NP overlay progress bars - CSS transition disabled during scrub so fill follows finger instantly - updateProgress() skips DOM updates while _scrubbing is active so timeupdate events don't fight the drag position - Works on both bars with a shared _initBarScrub helper Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
08d2f69720
commit
4b34bbc043
2 files changed
+39
-7
Reference in new issue
Block a user