clone: pass css prop update to children

This commit is contained in:
bordun 2020-04-23 20:06:24 +02:00
parent 3340d08f45
commit b4fc9833ee

View file

@ -291,6 +291,19 @@ class Clone extends Container() {
this.bindTarget(this.getCloneTarget())
if (this.cloneTarget) this.createClone()
return
case 'colorText':
case 'colorWidget':
case 'colorFill':
case 'colorStroke':
case 'alphaStroke':
case 'alphaFillOff':
case 'alphaFillOn':
case 'colorBg':
case 'padding':
for (var w of this.children) {
if (w) w.onPropChanged(propName)
}
return
}