mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-06 16:04:24 +00:00
Scrollbar: - Override scrollbar-width to 'auto' (was 'thin' ~6px, nearly invisible) - Increase scrollbar-color opacity to 0.7 (was 0.5) - Add explicit ::-webkit-scrollbar width 10px for older Chrome Text selection: - Block selectstart in Phase 1 (onMouseDown) instead of Phase 2 - Clear existing text selection with removeAllRanges() on drag start Stability: - Add window blur handler to cleanup drag on tab switch / window leave - Guard onWheel RAF callback against stale drag state - Defensive removeMarquee() before createMarquee() Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>