add missing .val ref #144

This commit is contained in:
Jiiks 2018-02-28 00:10:37 +02:00
parent 9b7b5d3b02
commit 160e6699e3
1 changed files with 2 additions and 2 deletions

View File

@ -44,11 +44,11 @@
},
hsva() {
if (!this.$refs.picker || !this.$refs.picker.val) return this.colors;
return this.$refs.picker.hsv;
return this.$refs.picker.val.hsv;
},
hsla() {
if (!this.$refs.picker || !this.$refs.picker.val) return this.colors;
return this.$refs.picker.hsl;
return this.$refs.picker.val.hsl;
},
rgbaString() {
const rgba = this.rgba;