Hide the current widget when collapsing, otherwise this is only the upper one which is displayed

This commit is contained in:
Nicolas Brichet 2022-08-26 13:37:39 +02:00 committed by foo
parent 2055ccfb5c
commit 1773c8fb26

View File

@ -664,6 +664,7 @@ namespace Private {
* Collapse the sidebar so no items are expanded.
*/
collapse(): void {
this._current?.hide();
this._current = null;
}