stuff
This commit is contained in:
parent
ace6962962
commit
18f71a7b9d
|
@ -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
Loading…
Reference in New Issue