clone: fix regression not applying not-editable to all children
This commit is contained in:
parent
ab0fdb85d9
commit
8de0bb90f7
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