From 0c461023fe5d7217cf40e4cb06576a00be48002b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 17 Feb 2025 18:50:23 -0800 Subject: [PATCH] enh: svg diagram download button --- src/lib/components/common/SVGPanZoom.svelte | 85 +++++++++++++-------- src/lib/components/icons/Reset.svelte | 14 +++- 2 files changed, 65 insertions(+), 34 deletions(-) diff --git a/src/lib/components/common/SVGPanZoom.svelte b/src/lib/components/common/SVGPanZoom.svelte index 9a2b0fd6e..e32e6ee92 100644 --- a/src/lib/components/common/SVGPanZoom.svelte +++ b/src/lib/components/common/SVGPanZoom.svelte @@ -1,16 +1,22 @@
@@ -44,30 +54,41 @@ {#if content}
- - - -
-
- - - +
+ + + + + + + + + + + +
{/if}
diff --git a/src/lib/components/icons/Reset.svelte b/src/lib/components/icons/Reset.svelte index c1263fd38..43a8c7a72 100644 --- a/src/lib/components/icons/Reset.svelte +++ b/src/lib/components/icons/Reset.svelte @@ -1,9 +1,19 @@ - +