@shotstack/shotstack-studio 2.11.7 → 2.12.0

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.
@@ -11,7 +11,7 @@ import "pixi.js/text-html";
11
11
  import "pixi.js/sprite-tiling";
12
12
  import "pixi.js/filters";
13
13
  import "pixi.js/mesh";
14
- const jE = "2.11.6", WE = {
14
+ const jE = "2.11.7", WE = {
15
15
  version: jE
16
16
  };
17
17
  function k1(e, t, i) {
@@ -43099,6 +43099,14 @@ class ko {
43099
43099
  }
43100
43100
  });
43101
43101
  }
43102
+ /** True when there is a command to undo (the history pointer is not before the first command). */
43103
+ get canUndo() {
43104
+ return this.commandIndex >= 0;
43105
+ }
43106
+ /** True when there is a command ahead to redo (the history pointer is not at the latest command). */
43107
+ get canRedo() {
43108
+ return this.commandIndex < this.commandHistory.length - 1;
43109
+ }
43102
43110
  /** @internal */
43103
43111
  setUpdatedClip(t, i = null, n = null) {
43104
43112
  const r = t.layer - 1, s = this.tracks[r], a = s ? s.indexOf(t) : -1, o = new m0(i, n, {