chore: remove testing code

This commit is contained in:
mathuo 2024-12-21 13:59:24 +00:00
parent 5d868e63ce
commit 0d32d285d2
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281
2 changed files with 0 additions and 17 deletions

View File

@ -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,

View File

@ -252,7 +252,6 @@ export type AddPanelOptions<P extends object = Parameters> = {
inactive?: boolean;
initialWidth?: number;
initialHeight?: number;
popout?: boolean;
} & Partial<AddPanelOptionsUnion> &
Partial<Contraints>;