renderPdf now takes an optional pivotPage. Pass 1 builds the full DOM and sizes all canvases (instant). Then scrolls to the pivot page immediately so the user stays in place. Pass 2 renders pixels from pivot→end, then pivot-1→start. reRenderPdf detects the current visible page before re-rendering and passes it as pivot, so zoom no longer resets scroll position. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| icon-192.png | ||
| icon-512.png | ||
| manifest.json | ||