@shotstack/shotstack-studio 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53158,7 +53158,7 @@ class es {
53158
53158
  const n = structuredClone(t);
53159
53159
  this.preserveClipIdsForGranularUpdate(n);
53160
53160
  const o = this.document.getTracks(), u = this.document.getOutput();
53161
- this.document = new qa(n), this.isBatchingEvents = !0, await this.applyGranularChanges(n, o, u), this.isBatchingEvents = !1, this.emitEditChanged("loadEdit:granular");
53161
+ this.document = new qa(n), this.isBatchingEvents = !0, await this.applyGranularChanges(n, o, u), this.updateTotalDuration(), this.isBatchingEvents = !1, this.emitEditChanged("loadEdit:granular");
53162
53162
  return;
53163
53163
  }
53164
53164
  const i = this.document, r = this.lastResolved, a = this.size, s = this.backgroundColor;