diff --git a/src/components/GridLattice.vue b/src/components/GridLattice.vue index 30ec36e9..325fa9aa 100644 --- a/src/components/GridLattice.vue +++ b/src/components/GridLattice.vue @@ -92,7 +92,7 @@ watch(svgElement, (element) => { observer.observe(element) }) -watch(() => store.modulus, computeExtent) +watch(() => [store.viewScale, store.minX, store.maxX, store.minY, store.maxY, store.viewCenterX, store.viewCenterY], computeExtent)