Skip to content

Commit

Permalink
Merge branch 'fix/#78'
Browse files Browse the repository at this point in the history
  • Loading branch information
linx4200 committed Jul 25, 2017
2 parents e6ed418 + dd1771b commit 25ad570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/Saturation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default {
var saturation = left / containerWidth
var bright = -(top / containerHeight) + 1
bright = bright > 0 ? bright : 0.01 // avoid TinyColor change to black when v === 0 check issue (https://github.com/bgrins/TinyColor/issues/86)
bright = bright > 0 ? bright : 0
bright = bright > 1 ? 1 : bright
this.throttle(this.onChange, {
Expand Down

0 comments on commit 25ad570

Please sign in to comment.