@markerjs/markerjs3 3.5.1 → 3.5.2

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/markerjs3.d.ts CHANGED
@@ -2228,8 +2228,9 @@ declare class MarkerArea extends HTMLElement {
2228
2228
  /**
2229
2229
  * Restores the annotation from the previously saved state.
2230
2230
  * @param state
2231
+ * @param addUndoStep if true (default) or omitted, an undo step is added after restoring the state
2231
2232
  */
2232
- restoreState(state: AnnotationState): void;
2233
+ restoreState(state: AnnotationState, addUndoStep?: boolean): void;
2233
2234
  private scaleMarkers;
2234
2235
  /**
2235
2236
  * NOTE: