diff --git a/src/lib/components/common/SVGPanZoom.svelte b/src/lib/components/common/SVGPanZoom.svelte index 08f620d62..9a2b0fd6e 100644 --- a/src/lib/components/common/SVGPanZoom.svelte +++ b/src/lib/components/common/SVGPanZoom.svelte @@ -29,12 +29,12 @@ zoomSpeed: 0.065 }); } -function resetPanZoomViewport() { - console.log('Reset View'); - instance.moveTo(0, 0); - instance.zoomAbs(0, 0, 1); - console.log(instance.getTransform()); -} + function resetPanZoomViewport() { + console.log('Reset View'); + instance.moveTo(0, 0); + instance.zoomAbs(0, 0, 1); + console.log(instance.getTransform()); + }