The whole visual now zooms: scroll or trackpad-pinch to zoom the canvas toward the cursor (1×–6×), drag empty space to pan when zoomed, double-click to snap home. Implemented as a CSS transform on #stage (smooth, no draw-loop surgery); all four hit-test chokepoints (mousedown/move/up/contextmenu) invert the zoom so clicking/dragging/right-clicking nodes still lands exactly — provably correct (the inverse of the transform). Pan clamps so the canvas always covers the view. Grimoire + manual note the gesture. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| index.html | ||