From df1a49fe6f96b284e25fad84aed11e68f0d46a29 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Fri, 10 Dec 2021 22:51:21 -0500 Subject: [PATCH] [+] Color picker --- src/App.vue | 2 +- src/views/color/ColorPicker.vue | 130 ++++++++++++++++++++++++++++++++ 2 files changed, 131 insertions(+), 1 deletion(-) create mode 100644 src/views/color/ColorPicker.vue diff --git a/src/App.vue b/src/App.vue index 94c28d6..6bd96ec 100644 --- a/src/App.vue +++ b/src/App.vue @@ -42,7 +42,7 @@ function runAfter(condition: () => boolean, callback: () => void, timeout=10): v callback() clearInterval(id) - }, 1) + }, 10) } @Options({components: {}}) diff --git a/src/views/color/ColorPicker.vue b/src/views/color/ColorPicker.vue new file mode 100644 index 0000000..c2a1854 --- /dev/null +++ b/src/views/color/ColorPicker.vue @@ -0,0 +1,130 @@ + + + + +