From 0ba129c2fa70c2991061219a745acfebafb0ff27 Mon Sep 17 00:00:00 2001 From: skarab42 Date: Wed, 3 Mar 2021 16:31:13 +0100 Subject: [PATCH] fix: Color picker --- .../Timeline/Editor/Settings/Input.svelte | 15 ++-- .../Editor/Settings/TextShadow.svelte | 1 - .../client/components/App/Connected.svelte | 18 ----- .../client/components/UI/ColorPicker.svelte | 68 +++++++------------ 4 files changed, 31 insertions(+), 71 deletions(-) diff --git a/front-src/client/components/Anime/Timeline/Editor/Settings/Input.svelte b/front-src/client/components/Anime/Timeline/Editor/Settings/Input.svelte index 89a7ad00..24de2a9a 100644 --- a/front-src/client/components/Anime/Timeline/Editor/Settings/Input.svelte +++ b/front-src/client/components/Anime/Timeline/Editor/Settings/Input.svelte @@ -36,13 +36,14 @@ {/if} {#if type === 'colorpicker'} - +
+ +
{:else if type === 'fontpicker'} - - diff --git a/front-src/client/components/UI/ColorPicker.svelte b/front-src/client/components/UI/ColorPicker.svelte index 8271858b..11153a72 100644 --- a/front-src/client/components/UI/ColorPicker.svelte +++ b/front-src/client/components/UI/ColorPicker.svelte @@ -1,59 +1,37 @@ -
-
- {#if label} -
- {label} -
- {/if} -
-
-
- -
-
+