Skip to content

Commit

Permalink
chore: remove testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
mathuo committed Dec 21, 2024
1 parent 5d868e6 commit 0d32d28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
16 changes: 0 additions & 16 deletions packages/dockview-core/src/dockview/dockviewComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1501,22 +1501,6 @@ export class DockviewComponent
);
}

if (options.popout) {
const group = this.createGroup();
this._onDidAddGroup.fire(group);

this.addPopoutGroup(group);

const panel = this.createPanel(options, group);

group.model.openPanel(panel, {
skipSetActive: options.inactive,
skipSetGroupActive: options.inactive,
});

return panel;
}

const initial = {
width: options.initialWidth,
height: options.initialHeight,
Expand Down
1 change: 0 additions & 1 deletion packages/dockview-core/src/dockview/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ export type AddPanelOptions<P extends object = Parameters> = {
inactive?: boolean;
initialWidth?: number;
initialHeight?: number;
popout?: boolean;
} & Partial<AddPanelOptionsUnion> &
Partial<Contraints>;

Expand Down

0 comments on commit 0d32d28

Please sign in to comment.