@netless/app-slide 0.2.59 → 0.2.61-beta.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.
package/dist/main.es.js CHANGED
@@ -37527,6 +37527,7 @@ class SlideController {
37527
37527
  }
37528
37528
  };
37529
37529
  this.unfreeze = async () => {
37530
+ var _a;
37530
37531
  if (!this.visible)
37531
37532
  return;
37532
37533
  this.isFrozen = false;
@@ -37537,6 +37538,11 @@ class SlideController {
37537
37538
  } else {
37538
37539
  this.slide.resume();
37539
37540
  }
37541
+ const currentSlideIndex = (_a = this.context.storage.state.state) == null ? void 0 : _a.currentSlideIndex;
37542
+ if (currentSlideIndex) {
37543
+ log("[Slide] sync storage", currentSlideIndex);
37544
+ this.slide.setSlideState({ currentSlideIndex });
37545
+ }
37540
37546
  } else {
37541
37547
  this._toFreeze = -1;
37542
37548
  }
@@ -39260,7 +39266,7 @@ class SlidePreviewer {
39260
39266
  }
39261
39267
  }
39262
39268
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
39263
- const version = "0.2.59";
39269
+ const version = "0.2.61-beta.0";
39264
39270
  const SlideApp = {
39265
39271
  kind: "Slide",
39266
39272
  setup(context) {