Skip to content

Commit 3894362

Browse files
authored
Merge pull request #1033 from david-tsai-skydio/feat/reuse-existing-panels
feat: add reuseExistingPanels
2 parents e3cda20 + 45ae882 commit 3894362

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/dockview-core/src/dockview/dockviewGroupPanelModel.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,8 @@ export class DockviewGroupPanelModel
906906
if (panel) {
907907
this.tabsContainer.setActivePanel(panel);
908908

909+
this.contentContainer.openPanel(panel);
910+
909911
panel.layout(this._width, this._height);
910912

911913
this.updateMru(panel);

0 commit comments

Comments
 (0)