ca4861a90de63a8d37c3c4e578dbcab26c4d1106
The refactor made pdfDoc a plain variable so renderer.isLoaded was not reactive. Svelte only tracked currentPage and scale — but when the canvas reappeared after loading, neither changed, so the PDF stayed blank. Fix: merge the two effects into one that reads canvasEl synchronously. Svelte now tracks canvasEl as a dependency; when the canvas remounts (loading spinner → false), the effect re-fires and renders the already-loaded PDF document. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Python
73.2%
TypeScript
11.5%
Java
10.8%
Svelte
4.2%
Shell
0.1%