Skip to content

Commit

Permalink
Hotfix: fix double D3Canvas translation
Browse files Browse the repository at this point in the history
  • Loading branch information
yustarandomname committed Apr 24, 2024
1 parent 0fd16d6 commit 66f6fd5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/d3-components/D3Canvas.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
(2 * vmax)) /
30})"
>
<slot />
<g transform="translate({-cameraPosition.x}, {-cameraPosition.y})">
<Axis {showAxisNumbers} length={tickLength} {gridType} />
<slot />
Expand Down

0 comments on commit 66f6fd5

Please sign in to comment.