rgb: fix function typo breaking in old iOS

This commit is contained in:
jean-emmanuel 2018-04-07 12:10:01 +02:00
parent 5ba26e19d7
commit 9c1997abde
2 changed files with 2 additions and 1 deletions

View file

@ -114,7 +114,7 @@ module.exports = class Rgb extends Pad {
props:{...Input.defaults(), precision:this.getProp('precision'), unit:this.getProp('unit')},
parent:this, parentNode:this.widget
})
this.widget.append(this.input.widget)
this.widget.appendChild(this.input.widget)
this.input.on('change', (e)=>{
e.stopPropagation = true
this.setValue(this.input.getValue(), {sync:true, send:true})