diff --git a/packages/sprotty/src/model-source/local-model-source.ts b/packages/sprotty/src/model-source/local-model-source.ts index e3640e6..af1c2e1 100644 --- a/packages/sprotty/src/model-source/local-model-source.ts +++ b/packages/sprotty/src/model-source/local-model-source.ts @@ -143,7 +143,7 @@ export class LocalModelSource extends ModelSource { if (this.viewerOptions.needsClientLayout) { const computedBounds = await this.actionDispatcher.request(RequestBoundsAction.create(newRoot)); const index = this.computedBoundsApplicator.apply(this.currentRoot, computedBounds); - await this.doSubmitModel(newRoot, true, cause, index); + await this.doSubmitModel(newRoot, update, cause, index); } else { await this.doSubmitModel(newRoot, update, cause); }