diff --git a/CHANGELOG.md b/CHANGELOG.md index a96e6c17..b344289f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## next + +- editor + - display color picked values with css rgba notation instead of hexadecimal + ## 1.7.5 - bug fixes diff --git a/src/client/ui/ui-colorpicker.js b/src/client/ui/ui-colorpicker.js index dc7b3576..8d962438 100644 --- a/src/client/ui/ui-colorpicker.js +++ b/src/client/ui/ui-colorpicker.js @@ -81,14 +81,14 @@ class ColorPicker extends UiWidget { apply() { - this.value = chroma(this.rgb.value).hex() + this.value = chroma(this.rgb.getValue(true)).css('rgba') this.trigger('change') } confirm() { - this.value = chroma(this.rgb.value).hex() + this.value = chroma(this.rgb.getValue(true)).css('rgba') this.trigger('change') this.close()