tree: show project tree if minimzed when clicking on "Show in tree"

This commit is contained in:
bordun 2021-04-18 12:20:11 +02:00
parent 16a0d68dc6
commit c07ba5335d
2 changed files with 3 additions and 0 deletions

View file

@ -11,6 +11,7 @@
- editor
- context menu: add `export` action to export a widget as a fragment file
- show project tree if minimzed when clicking on "Show in tree"
- widget
- **new** `fragment` widgets (under `containers`): embedded session or fragment file with overridable properties.

View file

@ -165,6 +165,8 @@ class UiTree extends UiWidget {
node[0].scrollIntoView({block: 'center'})
}
if (this.parent.minimized) this.parent.restore()
}
select() {