inspector: display color picked values with css rgba notation instead of hexadecimal
This commit is contained in:
parent
7a3180739b
commit
60f34b939d
2 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# Changelog
|
||||
|
||||
## next
|
||||
|
||||
- editor
|
||||
- display color picked values with css rgba notation instead of hexadecimal
|
||||
|
||||
## 1.7.5
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue