editor: fix error when hitting mod + a and unselecting widgets
This commit is contained in:
parent
c3b9563adf
commit
8ae0e43e46
2 changed files with 2 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ var Editor = class Editor {
|
|||
var curWidget1 = this.selectedWidgets[0]
|
||||
|
||||
if (curWidget1.parent !== widgetManager) {
|
||||
this.select(curWidget1.parent.children)
|
||||
this.select([...curWidget1.parent.children])
|
||||
}
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue