@netless/app-slide 0.2.21 → 0.2.22
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.cjs.js +41 -41
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +5 -11
- package/dist/main.es.js.map +1 -1
- package/dist/main.iife.js +80 -80
- package/dist/main.iife.js.map +1 -1
- package/package.json +2 -2
package/dist/main.es.js
CHANGED
|
@@ -29815,13 +29815,8 @@ void main(void){
|
|
|
29815
29815
|
if (this.fillStyle.fillType === "solidFill" || this.fillStyle.fillType === "noFill")
|
|
29816
29816
|
return null;
|
|
29817
29817
|
if (this.fillStyle.fillType === "gradientFill") {
|
|
29818
|
-
const t3 = new qd();
|
|
29819
|
-
|
|
29820
|
-
if (!e2) {
|
|
29821
|
-
const t4 = Fg(this.fillStyle, this.width, this.height), i2 = Bh.p.create({ width: this.width, height: this.height, resolution: this.ctx.renderer.resolution });
|
|
29822
|
-
this.ctx.renderer.render(t4, { renderTexture: i2 }), e2 = i2, Kg.gradientPool.set(this.gradientHash, e2), t4.destroy({ children: true, texture: true });
|
|
29823
|
-
}
|
|
29824
|
-
return t3.texture = e2, t3;
|
|
29818
|
+
const t3 = new qd(), e2 = Fg(this.fillStyle, this.width, this.height), i2 = Bh.p.create({ width: this.width, height: this.height, resolution: this.ctx.renderer.resolution });
|
|
29819
|
+
return this.ctx.renderer.render(e2, { renderTexture: i2 }), e2.destroy({ children: true, texture: true }), t3.texture = i2, t3;
|
|
29825
29820
|
}
|
|
29826
29821
|
if (this.fillStyle.fillType === "blipFill") {
|
|
29827
29822
|
const { src: e2, filters: i2 } = this.fillStyle, n2 = this.ctx.spriteTexture.getTexture(e2), r2 = this.ctx.spriteTexture.getFrameData(e2);
|
|
@@ -29882,7 +29877,6 @@ void main(void){
|
|
|
29882
29877
|
}), this.clonedObjects = [];
|
|
29883
29878
|
}
|
|
29884
29879
|
}
|
|
29885
|
-
Kg.gradientPool = /* @__PURE__ */ new Map();
|
|
29886
29880
|
var Qg = function(t2, e2, i2, n2) {
|
|
29887
29881
|
return new (i2 || (i2 = Promise))(function(r2, o2) {
|
|
29888
29882
|
function s2(t3) {
|
|
@@ -35176,9 +35170,9 @@ void main(void){
|
|
|
35176
35170
|
}
|
|
35177
35171
|
var Vb = { 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" }, Xb = { taskId: "", url: "", currentSlideIndex: -1, mainSeqStep: -1, mainSeqState: null, mediaState: /* @__PURE__ */ Object.create(null), interactiveSeqState: /* @__PURE__ */ Object.create(null) }, Wb = "";
|
|
35178
35172
|
try {
|
|
35179
|
-
Wb = "0.8.
|
|
35173
|
+
Wb = "0.8.2";
|
|
35180
35174
|
} catch (t2) {
|
|
35181
|
-
Wb = "dev";
|
|
35175
|
+
Wb = "dev-";
|
|
35182
35176
|
}
|
|
35183
35177
|
var Yb = null;
|
|
35184
35178
|
try {
|
|
@@ -38066,7 +38060,7 @@ class SlidePreviewer {
|
|
|
38066
38060
|
}
|
|
38067
38061
|
}
|
|
38068
38062
|
const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
|
|
38069
|
-
const version = "0.2.
|
|
38063
|
+
const version = "0.2.22";
|
|
38070
38064
|
const SlideApp = {
|
|
38071
38065
|
kind: "Slide",
|
|
38072
38066
|
setup(context) {
|