@netless/forge-slide 1.1.0-beta.2 → 1.1.0-beta.4

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.
package/dist/slide.esm.js CHANGED
@@ -63046,6 +63046,7 @@ var RenderableModel = class extends EventEmitter {
63046
63046
  this.emit("elementInsert", [model]);
63047
63047
  });
63048
63048
  }
63049
+ this.maxIndex = Math.max(this.maxIndex, model?.index ?? 0);
63049
63050
  }
63050
63051
  } else if (value.action === "delete") {
63051
63052
  this.emit("elementRemove", key, this.layerId);