clone: pass css prop update to children
This commit is contained in:
parent
2d9e1b7ee9
commit
4a3c419f69
1 changed files with 13 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue