@netless/app-slide 0.2.41 → 0.2.42

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
@@ -37501,19 +37501,19 @@ class SlideController {
37501
37501
  return this.slide.slideState.currentSlideIndex;
37502
37502
  }
37503
37503
  createSlide(anchor) {
37504
- var _a, _b;
37504
+ var _a, _b, _c;
37505
37505
  const options = this.context.getAppOptions() || {};
37506
37506
  const slide = new Slide.Slide({
37507
37507
  anchor,
37508
37508
  interactive: true,
37509
37509
  mode: "interactive",
37510
37510
  controller: logger.enable,
37511
- enableGlobalClick: true,
37511
+ enableGlobalClick: (_a = options.enableGlobalClick) != null ? _a : true,
37512
37512
  renderOptions: {
37513
37513
  minFPS: options.minFPS || 25,
37514
37514
  maxFPS: options.maxFPS || 30,
37515
- autoFPS: (_a = options.autoFPS) != null ? _a : true,
37516
- autoResolution: (_b = options.autoResolution) != null ? _b : true,
37515
+ autoFPS: (_b = options.autoFPS) != null ? _b : true,
37516
+ autoResolution: (_c = options.autoResolution) != null ? _c : true,
37517
37517
  resolution: options.resolution,
37518
37518
  transactionBgColor: options.bgColor || cachedGetBgColor(anchor),
37519
37519
  maxResolutionLevel: options.maxResolutionLevel,
@@ -39066,7 +39066,7 @@ class SlidePreviewer {
39066
39066
  }
39067
39067
  }
39068
39068
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
39069
- const version = "0.2.41";
39069
+ const version = "0.2.42";
39070
39070
  const SlideApp = {
39071
39071
  kind: "Slide",
39072
39072
  setup(context) {