|
All checks were successful
deploy / deploy (push) Successful in 49s
DepthChart maps the mouse to SVG space with getBoundingClientRect, which assumes the drawing fills the container. The viewBox (960x380) is narrower than the container, so preserveAspectRatio centers it with ~127px of side padding and the crosshair drifted ~100px from the cursor near the edges. Map through the SVG's own getScreenCTM().inverse() so it stays exact regardless of letterboxing. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| web | ||