Theorem v1.4.2
Pre-release
Pre-release
Fixed
- Touch selection & swipe gesture decoupling — Fixed glitching and accidental page turns when selecting text to highlight using touch/stylus. In
paginator.js, a finger hold (>180ms) now locks the gesture into selection mode and prevents swiping; swipe movement threshold was raised from 8px to 20px with horizontal dominance requirements; and active selections automatically snap the viewport back to full-page alignment if displaced. - Removed duplicate FoliateEngine swipe handler — Stripped redundant
touchendpage-turning logic infoliate-engine.tsthat competed with Paginator and triggered false page-turns during selection drag gestures. - Non-blocking highlight overlays — Highlight SVG elements now use
pointer-events: none, allowing native touch and mouse selection to freely pass through or cross over existing highlights without interference. Highlight taps continue to be resolved via native document click hit-testing.