From 1c1dfb1dfeec9e097883eed6a1293073e96a38d0 Mon Sep 17 00:00:00 2001 From: Conor_Mack Date: Fri, 26 Jun 2020 11:53:08 +0100 Subject: [PATCH] Fixing Colorpicker Duplication Issues --- .../Colorpicker/Colorpicker.svelte | 33 ------------------- .../userInterface/Colorpicker/Input.svelte | 3 -- .../userInterface/Colorpicker/Slider.svelte | 13 -------- 3 files changed, 49 deletions(-) diff --git a/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte b/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte index c50b119e53..2ae31385aa 100644 --- a/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte +++ b/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte @@ -149,39 +149,6 @@ $: shrink = swatches.length > 0 -
- -
- -
- -
-
-
- -
- -
-
- setHue(hue.detail)} /> - - - setAlpha(alpha.detail)} /> - - -
-
- -
- - handleColorInput(event.target.value)} /> -
-
- -
-
- -
diff --git a/packages/builder/src/components/userInterface/Colorpicker/Slider.svelte b/packages/builder/src/components/userInterface/Colorpicker/Slider.svelte index 906f5f0d6a..a6abab6ca1 100644 --- a/packages/builder/src/components/userInterface/Colorpicker/Slider.svelte +++ b/packages/builder/src/components/userInterface/Colorpicker/Slider.svelte @@ -29,19 +29,6 @@ $: style = `transform: translateX(${thumbPosition - 6}px);` -
handleClick(event.clientX)} - class="color-format-slider" - class:hue={type === 'hue'} - class:alpha={type === 'alpha'}> -
handleClick(e.detail)} - class="slider-thumb" - {style} /> -