editor: lint

This commit is contained in:
jean-emmanuel 2022-02-12 12:22:00 +01:00
parent 46ba4115af
commit 87842dbd12

View file

@ -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
}