mirror of
https://github.com/mathuo/dockview
synced 2025-08-29 05:26:31 +00:00
feat: don't fire events during toJSON()
This commit is contained in:
parent
af88a17950
commit
725f364186
@ -681,14 +681,7 @@ export class DockviewComponent
|
|||||||
.filter((p) => this._panels.has(p.id))
|
.filter((p) => this._panels.has(p.id))
|
||||||
.forEach((panel) => {
|
.forEach((panel) => {
|
||||||
panel.setDirty(false);
|
panel.setDirty(false);
|
||||||
this._onGridEvent.fire({
|
|
||||||
kind: GroupChangeKind.PANEL_CLEAN,
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this._onGridEvent.fire({
|
|
||||||
kind: GroupChangeKind.LAYOUT_CONFIG_UPDATED,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private _addPanel(options: AddPanelOptions): IGroupPanel {
|
private _addPanel(options: AddPanelOptions): IGroupPanel {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user