Skip to content

Commit

Permalink
fix: eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
linx4200 committed Jul 20, 2017
1 parent 8cd2a46 commit 5c752ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/common/Hue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit 5c752ab

Please sign in to comment.