diff --git a/frontend/src/components/input/ColorPicker.vue b/frontend/src/components/input/ColorPicker.vue index 23e0984de..c7128cc97 100644 --- a/frontend/src/components/input/ColorPicker.vue +++ b/frontend/src/components/input/ColorPicker.vue @@ -82,7 +82,6 @@ const DEFAULT_COLORS = [ ] const color = ref('') -const lastChangeTimeout = ref | null>(null) const defaultColors = ref(DEFAULT_COLORS) const colorListID = ref(createRandomID()) @@ -112,13 +111,7 @@ function update(force = false) { return } - if (lastChangeTimeout.value !== null) { - clearTimeout(lastChangeTimeout.value) - } - - lastChangeTimeout.value = setTimeout(() => { - model.value = color.value - }, 500) + model.value = color.value } function reset() {