mirror of
https://github.com/mathuo/dockview
synced 2025-08-27 12:36:35 +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))
|
||||
.forEach((panel) => {
|
||||
panel.setDirty(false);
|
||||
this._onGridEvent.fire({
|
||||
kind: GroupChangeKind.PANEL_CLEAN,
|
||||
});
|
||||
});
|
||||
|
||||
this._onGridEvent.fire({
|
||||
kind: GroupChangeKind.LAYOUT_CONFIG_UPDATED,
|
||||
});
|
||||
}
|
||||
|
||||
private _addPanel(options: AddPanelOptions): IGroupPanel {
|
||||
|
Loading…
x
Reference in New Issue
Block a user