Skip to content

Commit 1ef1c08

Browse files
committed
fix(GeoPath): Fix reactivity with curve when using Canvas context
1 parent 87488ca commit 1ef1c08

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.changeset/brave-spies-give.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'layerchart': patch
3+
---
4+
5+
fix(GeoPath): Fix reactivity with `curve` when using Canvas context

packages/layerchart/src/lib/components/GeoPath.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@
171171
touchmove: restProps.ontouchmove,
172172
},
173173
deps: () => [
174-
geojson,
175174
projection,
175+
geojson,
176+
curve,
176177
fillKey.current,
177178
strokeKey.current,
178179
strokeWidth,

0 commit comments

Comments
 (0)