@netless/app-slide 0.2.79 → 0.2.80

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
@@ -37737,7 +37737,7 @@ class SlideController {
37737
37737
  if (this.ready) {
37738
37738
  let isNeedSyncState = false;
37739
37739
  log("[Slide] unfreeze", this.context.appId);
37740
- if (this.invisibleBehavior === "frozen" && !this.slide.view) {
37740
+ if (this.invisibleBehavior === "frozen") {
37741
37741
  this.slide.release();
37742
37742
  isNeedSyncState = true;
37743
37743
  } else {
@@ -37872,7 +37872,7 @@ class SlideController {
37872
37872
  return this.slide.slideState.currentSlideIndex;
37873
37873
  }
37874
37874
  createSlide(anchor, defaults = {}) {
37875
- var _a, _b, _c;
37875
+ var _a, _b, _c, _d;
37876
37876
  const options = this.context.getAppOptions() || {};
37877
37877
  const attribute = this.context.storage.state;
37878
37878
  const slide = new Slide.Slide({
@@ -37902,8 +37902,8 @@ class SlideController {
37902
37902
  logger: options.logger,
37903
37903
  whiteTracker: defaults.whiteTracker,
37904
37904
  timestamp: this.timestamp,
37905
- skipActionWhenFrozen: true,
37906
- customLinks: attribute.customLinks
37905
+ customLinks: attribute.customLinks,
37906
+ skipActionWhenFrozen: (_d = options.skipActionWhenFrozen) != null ? _d : true
37907
37907
  });
37908
37908
  return slide;
37909
37909
  }
@@ -39542,7 +39542,7 @@ class SlidePreviewer {
39542
39542
  }
39543
39543
  }
39544
39544
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
39545
- const version = "0.2.79";
39545
+ const version = "0.2.80";
39546
39546
  const SlideApp = {
39547
39547
  kind: "Slide",
39548
39548
  setup(context) {