This commit is contained in:
Mirco Wittrien 2020-09-04 12:13:19 +02:00
parent ace6962962
commit 18f71a7b9d
2 changed files with 2 additions and 2 deletions

View File

@ -9699,7 +9699,7 @@
colors: [], colors: [],
color: this.props.value && this.props.mode == "comp" ? BDFDB.ColorUtils.convert(this.props.value.split(","), "RGB") : this.props.value, color: this.props.value && this.props.mode == "comp" ? BDFDB.ColorUtils.convert(this.props.value.split(","), "RGB") : this.props.value,
onColorChange: color => { onColorChange: color => {
this.handleChange(!color ? "" : (this.props.mode == "comp" ? BDFDB.ColorUtils.convert(color, "RGBCOMP").slice(0, 3).join(",") : color)); this.handleChange(!color ? "" : (this.props.mode == "comp" ? BDFDB.ColorUtils.convert(color, "RGBCOMP").slice(0, 3).join(",") : (this.props.noAlpha ? BDFDB.ColorUtils.convert(color, "RGB") : color)));
}, },
pickerConfig: {gradient:false, alpha:this.props.mode != "comp" && !this.props.noAlpha} pickerConfig: {gradient:false, alpha:this.props.mode != "comp" && !this.props.noAlpha}
}) })

File diff suppressed because one or more lines are too long