editor: fix error when hitting mod + a and unselecting widgets

This commit is contained in:
bordun 2020-01-26 16:35:55 +01:00
parent c3b9563adf
commit 8ae0e43e46
2 changed files with 2 additions and 1 deletions

View file

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