clone: fix regression not applying not-editable to all children
This commit is contained in:
parent
20128b3327
commit
85c5b85972
1 changed files with 2 additions and 2 deletions
|
|
@ -157,8 +157,8 @@ class Clone extends Container {
|
|||
}
|
||||
|
||||
|
||||
for (var i = 0; i < this.children.length; i++) {
|
||||
this.children[i].container.classList.add('not-editable')
|
||||
for (var w of this.getAllChildren()) {
|
||||
w.container.classList.add('not-editable')
|
||||
}
|
||||
|
||||
// listen for cloneTarget's deletion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue