parent
b9d2db5ebe
commit
5bec7163f3
|
@ -63,7 +63,6 @@ export class CompositeDragAndDrop implements ICompositeDragAndDrop {
|
|||
}
|
||||
|
||||
this.viewDescriptorService.moveViewContainerToLocation(currentContainer, this.targetContainerLocation, this.getTargetIndex(targetCompositeId, before));
|
||||
this.openComposite(currentContainer.id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -209,7 +209,10 @@ export class PanelPart extends CompositePart<Panel> implements IPanelService {
|
|||
for (const panel of panels) {
|
||||
const cachedPanel = this.getCachedPanels().filter(({ id }) => id === panel.id)[0];
|
||||
const activePanel = this.getActivePanel();
|
||||
const isActive = activePanel?.getId() === panel.id || (!activePanel && this.getLastActivePanelId() === panel.id);
|
||||
const isActive =
|
||||
activePanel?.getId() === panel.id ||
|
||||
(!activePanel && this.getLastActivePanelId() === panel.id) ||
|
||||
(this.extensionsRegistered && this.compositeBar.getVisibleComposites().length === 0);
|
||||
|
||||
if (isActive || !this.shouldBeHidden(panel.id, cachedPanel)) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue