You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace react-zoom-pan-pinch with a framework-neutral viewport (fixes #147) #218
Replace react-zoom-pan-pinch with a framework-neutral pan/zoom viewport in Svelte, retaining the PNG preview contract, and fix the known zoom-clamp bug (#147) in the process.
Why
Removes a React-only dependency and fixes a real viewport bug, without changing the framework and the render format at the same time (the backend image contract stays put).
Reimplement pan / zoom / reset / wheel-zoom with native pointer events + CSS transforms (or a small framework-neutral util) over the <img> preview.
Fix GUI bug: plot viewer zoom is clamped to image bounds #147: zoom must scale the full image/viewport, not just the area inside the original image bounds — handle both larger-than-bounds (pan/zoom to overflow) and smaller-than-bounds (zoom in to inspect) cases.
Migrate the layer scrubber, canvas controls, and loading / error / empty / warning states.
Activity
feat(gui): framework-neutral viewport with native pan/zoom (#218, #147)…