ColorPicker: prevent active-change event when picker is closed (#11304)

pull/11167/head^2
Jikkai Xiao 2018-05-23 16:41:57 +08:00 committed by 杨奕
parent bcfb1d3c71
commit 1fe51c9295
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@
}
},
displayedColor(val) {
if (!this.showPicker) return;
const currentValueColor = new Color({
enableAlpha: this.showAlpha,
format: this.colorFormat