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 0f86474eb6
commit 3cf7a11d3e
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- bug fixes:
- widgets: missing `target` property for `plots/*` widgets, required for MIDI bindings
- editor: set `label` to `auto` instead of `true` when using the toggle button
- editor: errors when hitting `mod + a` and unselecting widgets
- modal: correct popup title color
- widgets:
- **new** `menu` widget, circular alternative to the dropdown & switch widgets

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