This commit is contained in:
SteVen Batten 2021-11-29 11:15:13 -08:00
parent 2f066a3675
commit 45b3e8ad6c
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View file

@ -428,7 +428,7 @@ export class CompositeBar extends Widget implements ICompositeBar {
// Case: we closed the last visible composite
// Solv: we hide the part
else if (this.visibleComposites.length === 0) {
else if (this.visibleComposites.length <= 1) {
this.options.hidePart();
}

View file

@ -212,7 +212,6 @@ export abstract class BasePanelPart extends CompositePart<PaneComposite> impleme
const activePanel = this.getActivePaneComposite();
const isActive =
activePanel?.getId() === panel.id ||
(!activePanel && this.getLastActivePaneCompositeId() === panel.id) ||
(this.extensionsRegistered && this.compositeBar.getVisibleComposites().length === 0);
if (isActive || !this.shouldBeHidden(panel.id, cachedPanel)) {