Skip to content

Commit

Permalink
ColorPicker: prevent active-change event when picker is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai committed May 23, 2018
1 parent 66c7b3c commit 5e751b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/color-picker/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
}
},
displayedColor(val) {
if (!this.showPicker) return;
const currentValueColor = new Color({
enableAlpha: this.showAlpha,
format: this.colorFormat
Expand Down

0 comments on commit 5e751b2

Please sign in to comment.