@netless/app-slide 0.2.73 → 0.2.74-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
@@ -31127,7 +31127,7 @@ void main(void){
31127
31127
  const i2 = this.ctx.graphicsTexture.getGraphicsData(t2.graphicsId);
31128
31128
  if (i2) {
31129
31129
  const { texture: n2 } = i2, r2 = new ep(n2);
31130
- r2.pivot.x = t2.pivot.x, r2.pivot.y = t2.pivot.y, r2.position.x = t2.position.x, r2.position.y = t2.position.y, r2.rotation = t2.rotate / 180 * Math.PI, r2.scale.x = i2.scale, r2.scale.y = i2.scale, null === (e2 = this.backgroundGraphics) || void 0 === e2 || e2.addArrows(r2);
31130
+ r2.pivot.x = t2.pivot.x, r2.pivot.y = t2.pivot.y, r2.position.x = t2.position.x, r2.position.y = t2.position.y, r2.rotation = t2.rotate / 180 * Math.PI, r2.scale.x = i2.scale, r2.scale.y = i2.scale, this.json.fillStyle && "noFill" !== this.json.fillStyle.fillType ? null === (e2 = this.backgroundGraphics) || void 0 === e2 || e2.addArrows(r2) : this.effectContainer.addChild(r2);
31131
31131
  }
31132
31132
  });
31133
31133
  }
@@ -36242,7 +36242,7 @@ void main(void){
36242
36242
  }
36243
36243
  var vT = { syncDispatch: "syncDispatch", syncReceive: "syncReceive", syncEventLag: "syncEventLag", renderStart: "renderStart", renderEnd: "renderEnd", renderError: "renderError", slideChange: "slideChange", mainSeqStepStart: "mainSeqStepStart", mainSeqStepEnd: "mainSeqStepEnd", animateStart: "animateStart", animateEnd: "animateEnd", stateChange: "stateChange", slideStepEnd: "slideEnd", slideStepStart: "slideStart", useraddLink: "useraddLink" }, _T = { taskId: "", url: "", currentSlideIndex: -1, mainSeqStep: -1, mainSeqState: null, mediaState: /* @__PURE__ */ Object.create(null), interactiveSeqState: /* @__PURE__ */ Object.create(null) }, yT = "";
36244
36244
  try {
36245
- yT = "1.4.33";
36245
+ yT = "1.4.34";
36246
36246
  } catch (t2) {
36247
36247
  yT = "-dev-";
36248
36248
  }
@@ -37597,7 +37597,7 @@ function syncSceneWithSlide(room, context, slide, baseScenePath) {
37597
37597
  if (!(page > 0) || !context.getIsWritable())
37598
37598
  return;
37599
37599
  const scenePath = [baseScenePath, page].join("/");
37600
- if (room.scenePathType(scenePath) !== "page") {
37600
+ if (context.isAddApp && room.scenePathType(scenePath) !== "page") {
37601
37601
  room.removeScenes(baseScenePath);
37602
37602
  const count = slide.slideCount;
37603
37603
  const scenes = [];
@@ -37611,7 +37611,7 @@ function syncSceneWithSlide(room, context, slide, baseScenePath) {
37611
37611
  } else {
37612
37612
  currentScenePath = ((_a = context.getView()) == null ? void 0 : _a.focusScenePath) || "";
37613
37613
  }
37614
- if (currentScenePath !== scenePath) {
37614
+ if (currentScenePath !== scenePath && room.scenePathType(scenePath) === "page") {
37615
37615
  context.setScenePath(scenePath);
37616
37616
  }
37617
37617
  }
@@ -39532,7 +39532,7 @@ class SlidePreviewer {
39532
39532
  }
39533
39533
  }
39534
39534
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
39535
- const version = "0.2.73";
39535
+ const version = "0.2.74-beta.0";
39536
39536
  const SlideApp = {
39537
39537
  kind: "Slide",
39538
39538
  setup(context) {