mirror of
https://github.com/mathuo/dockview
synced 2025-08-14 21:26:01 +00:00
chore: adjust dockview disposable
This commit is contained in:
parent
8650de90aa
commit
4d01d4e0af
@ -577,11 +577,6 @@ export class DockviewComponent
|
|||||||
this.updateWatermark();
|
this.updateWatermark();
|
||||||
}
|
}
|
||||||
|
|
||||||
override dispose(): void {
|
|
||||||
this.clear(); // explicitly clear the layout before cleaning up
|
|
||||||
super.dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
override setVisible(panel: DockviewGroupPanel, visible: boolean): void {
|
override setVisible(panel: DockviewGroupPanel, visible: boolean): void {
|
||||||
switch (panel.api.location.type) {
|
switch (panel.api.location.type) {
|
||||||
case 'grid':
|
case 'grid':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user