events: one more missing rename

This commit is contained in:
jean-emmanuel 2022-01-30 14:43:44 +01:00
parent a486b55e59
commit 6c33a5736e

View file

@ -31,7 +31,7 @@ class ColorPicker extends UiWidget {
</div>
`
this.rgb.on('change', (e)=>{
this.rgb.on('value-changed', (e)=>{
e.stopPropagation = true
this.value = chroma(this.rgb.value).hex()
this.trigger('change', {preventHistory: true})