editor: lint
This commit is contained in:
parent
46ba4115af
commit
87842dbd12
1 changed files with 1 additions and 3 deletions
|
|
@ -562,12 +562,10 @@ class Editor {
|
|||
|
||||
}
|
||||
|
||||
var parent = this.selectedWidgets[0].parent,
|
||||
parentLock = false
|
||||
var parent = this.selectedWidgets[0].parent
|
||||
while (parent !== widgetManager) {
|
||||
if (parent.getProp('lock')) {
|
||||
this.selectedWidgets = [parent]
|
||||
parentLock = true
|
||||
}
|
||||
parent = parent.parent
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue