From 69f3466f5ae5585a566102c1a76ebfdf4f838acc Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 17 May 2021 02:40:15 +0530 Subject: [PATCH] Functional Parity --- .prettierrc | 5 +- src/lib/components/actions.svelte | 159 +++++++++++++++++++++++++++++- src/lib/components/view.svelte | 2 +- src/routes/edit.svelte | 3 +- tsconfig.json | 2 +- 5 files changed, 165 insertions(+), 6 deletions(-) diff --git a/.prettierrc b/.prettierrc index ff2677ef..df1b3854 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,5 +2,6 @@ "useTabs": true, "singleQuote": true, "trailingComma": "none", - "printWidth": 100 -} + "printWidth": 100, + "svelteBracketNewLine": false +} \ No newline at end of file diff --git a/src/lib/components/actions.svelte b/src/lib/components/actions.svelte index c76e886a..02a9841f 100644 --- a/src/lib/components/actions.svelte +++ b/src/lib/components/actions.svelte @@ -1 +1,158 @@ - + + + +
+ {#if isClipboardAvailable()} + + {/if} + + + + +
+ + +
+ + PNG size: + + + + + + + {#if imagemodeselected !== 'auto'} + + {/if} +
+
+ + diff --git a/src/lib/components/view.svelte b/src/lib/components/view.svelte index f3a05d93..0e1ab516 100644 --- a/src/lib/components/view.svelte +++ b/src/lib/components/view.svelte @@ -52,7 +52,7 @@
-
+