mirror of
https://github.com/mathuo/dockview
synced 2025-05-03 10:08:24 +00:00
chore: remove testing code
This commit is contained in:
parent
5d868e63ce
commit
0d32d285d2
@ -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,
|
||||
|
@ -252,7 +252,6 @@ export type AddPanelOptions<P extends object = Parameters> = {
|
||||
inactive?: boolean;
|
||||
initialWidth?: number;
|
||||
initialHeight?: number;
|
||||
popout?: boolean;
|
||||
} & Partial<AddPanelOptionsUnion> &
|
||||
Partial<Contraints>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user