diff --git a/src/components/common/Hue.vue b/src/components/common/Hue.vue index 1231141..935c545 100644 --- a/src/components/common/Hue.vue +++ b/src/components/common/Hue.vue @@ -30,10 +30,10 @@ export default { }, computed: { colors () { - const h = this.value.hsl.h; + const h = this.value.hsl.h if (h !== 0 && h - this.oldHue > 0) this.pullDirection = 'right' if (h !== 0 && h - this.oldHue < 0) this.pullDirection = 'left' - this.oldHue = h; + this.oldHue = h return this.value },