mirror of
https://github.com/mathuo/dockview
synced 2025-09-07 01:46:33 +00:00
chore: fix tests
This commit is contained in:
parent
3b2214d6b6
commit
c989b80e00
@ -436,12 +436,7 @@ export class Groupview extends CompositeDisposable implements IGroupview {
|
|||||||
};
|
};
|
||||||
|
|
||||||
private doClose(panel: IGroupPanel) {
|
private doClose(panel: IGroupPanel) {
|
||||||
this.removePanel(panel);
|
this.accessor.removePanel(panel);
|
||||||
this._removePanel(panel);
|
|
||||||
|
|
||||||
if (this.panels.length === 0) {
|
|
||||||
this.accessor.removeGroup(this.parent);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public isPanelActive(panel: IGroupPanel) {
|
public isPanelActive(panel: IGroupPanel) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user