Commit 1fe51c92 authored by Jikkai Xiao's avatar Jikkai Xiao Committed by 杨奕

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

parent bcfb1d3c
...@@ -96,6 +96,7 @@ ...@@ -96,6 +96,7 @@
} }
}, },
displayedColor(val) { displayedColor(val) {
if (!this.showPicker) return;
const currentValueColor = new Color({ const currentValueColor = new Color({
enableAlpha: this.showAlpha, enableAlpha: this.showAlpha,
format: this.colorFormat format: this.colorFormat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment