bard-legends-framework 0.6.30 → 0.6.31
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/utilities/libraries/animator/animating-content/fade-in-content.d.ts +4 -1
- package/dist/utilities/libraries/animator/animating-content/fade-in-content.js +1 -1
- package/dist/utilities/libraries/animator/animating-content/fade-in-content.js.map +1 -1
- package/package.json +1 -1
- package/package.json.bak +1 -1
|
@@ -4,7 +4,10 @@ export declare class FadeInContent<T> extends Container {
|
|
|
4
4
|
private createFunction;
|
|
5
5
|
private stateAnimation;
|
|
6
6
|
private content;
|
|
7
|
-
constructor(createFunction: (
|
|
7
|
+
constructor(createFunction: (value: {
|
|
8
|
+
state: T;
|
|
9
|
+
container: Container;
|
|
10
|
+
}) => void, options: {
|
|
8
11
|
duration: number;
|
|
9
12
|
animation: AnimatorAnimation;
|
|
10
13
|
});
|
|
@@ -14,7 +14,7 @@ class FadeInContent extends pixi_1.Container {
|
|
|
14
14
|
this.content = undefined;
|
|
15
15
|
if (state) {
|
|
16
16
|
this.content = new pixi_1.Container().displayParent(this).attach(this);
|
|
17
|
-
this.createFunction(state, this.content);
|
|
17
|
+
this.createFunction({ state, container: this.content });
|
|
18
18
|
}
|
|
19
19
|
})
|
|
20
20
|
.onValueChange(value => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fade-in-content.js","sourceRoot":"","sources":["../../../../../src/utilities/libraries/animator/animating-content/fade-in-content.ts"],"names":[],"mappings":";;;AAAA,2CAA6C;AAE7C,uDAAmD;AAEnD,MAAa,aAAiB,SAAQ,gBAAS;IAI7C,YACU,
|
|
1
|
+
{"version":3,"file":"fade-in-content.js","sourceRoot":"","sources":["../../../../../src/utilities/libraries/animator/animating-content/fade-in-content.ts"],"names":[],"mappings":";;;AAAA,2CAA6C;AAE7C,uDAAmD;AAEnD,MAAa,aAAiB,SAAQ,gBAAS;IAI7C,YACU,cAAmE,EAC3E,OAA2D;QAE3D,KAAK,EAAE,CAAC;QAHA,mBAAc,GAAd,cAAc,CAAqD;QAK3E,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,cAAc,GAAG,IAAI,gCAAc,CAAI,OAAO,CAAC;aACjD,aAAa,CAAC,KAAK,CAAC,EAAE;YACrB,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC;YACxB,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;YAEzB,IAAI,KAAK,EAAE,CAAC;gBACV,IAAI,CAAC,OAAO,GAAG,IAAI,gBAAS,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBAChE,IAAI,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;YAC1D,CAAC;QACH,CAAC,CAAC;aACD,aAAa,CAAC,KAAK,CAAC,EAAE;YACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACrB,CAAC,CAAC;aACD,MAAM,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IAED,QAAQ,CAAC,KAAoB;QAC3B,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC;CACF;AA9BD,sCA8BC"}
|
package/package.json
CHANGED