mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fixes #136805
This commit is contained in:
parent
2f066a3675
commit
45b3e8ad6c
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue