Spread mode: new toggle in reader settings renders pages side-by-side (cover alone, then pairs 2-3, 4-5...) using full screen width. Each page scales to half the container. Navigation and scroll position tracking are unchanged since per-page IDs are preserved. Pinch-to-zoom: captures 2-finger pinch on the PDF reader, blocking native browser zoom. Live CSS zoom during gesture, snaps to nearest 10% step on release. Single-finger scroll unaffected. applyPdfZoom moved to module level so touch handlers can call it. Touch listeners cleaned up on reader close. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| icon-192.png | ||
| icon-512.png | ||
| manifest.json | ||