@flashist/flibs 0.0.322 → 0.0.323
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.
|
@@ -11,25 +11,24 @@ export class FApp extends App {
|
|
|
11
11
|
FApp._instance = this;
|
|
12
12
|
// FStage
|
|
13
13
|
this.stage.isFStage = true;
|
|
14
|
-
// TEST
|
|
15
|
-
const origRender = this.render;
|
|
16
|
-
//
|
|
17
|
-
this.render = () => {
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
render(force) {
|
|
22
|
-
if (!force && this.fpsLimitterEnabled) {
|
|
23
|
-
let tempDelta = Date.now() - this.lastTimeRendered;
|
|
24
|
-
if (tempDelta >= this.targetRenderInterval) {
|
|
25
|
-
this.lastTimeRendered = Date.now();
|
|
26
|
-
super.render();
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
super.render();
|
|
31
|
-
}
|
|
14
|
+
// // TEST
|
|
15
|
+
// const origRender = this.render;
|
|
16
|
+
// //
|
|
17
|
+
// (this as any).render = () => {
|
|
18
|
+
// return origRender;
|
|
19
|
+
// };
|
|
32
20
|
}
|
|
21
|
+
// public render(force?: boolean): void {
|
|
22
|
+
// if (!force && this.fpsLimitterEnabled) {
|
|
23
|
+
// let tempDelta: number = Date.now() - this.lastTimeRendered;
|
|
24
|
+
// if (tempDelta >= this.targetRenderInterval) {
|
|
25
|
+
// this.lastTimeRendered = Date.now();
|
|
26
|
+
// super.render();
|
|
27
|
+
// }
|
|
28
|
+
// } else {
|
|
29
|
+
// super.render();
|
|
30
|
+
// }
|
|
31
|
+
// }
|
|
33
32
|
getGlobalInteractionPosition() {
|
|
34
33
|
// return (this.renderer.plugins as RendererPlugins).interaction.mouse.global;
|
|
35
34
|
// return this.renderer.plugins.interaction.eventData.data.global.clone();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FApp.js","sourceRoot":"","sources":["../../../../src/display/pixijs/custom/FApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,EACR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,MAAM,OAAO,IAAK,SAAQ,GAAG;IAUzB;QACI,KAAK,EAAE,CAAC;QAJF,qBAAgB,GAAW,CAAC,CAAC;QAMnC,gCAAgC;QAChC,sCAAsC;QACtC,iEAAiE;QACjE,IAAI;QAEJ,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QAEtB,SAAS;QACT,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;QAE3B,
|
|
1
|
+
{"version":3,"file":"FApp.js","sourceRoot":"","sources":["../../../../src/display/pixijs/custom/FApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,EACR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,MAAM,OAAO,IAAK,SAAQ,GAAG;IAUzB;QACI,KAAK,EAAE,CAAC;QAJF,qBAAgB,GAAW,CAAC,CAAC;QAMnC,gCAAgC;QAChC,sCAAsC;QACtC,iEAAiE;QACjE,IAAI;QAEJ,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QAEtB,SAAS;QACT,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;QAE3B,UAAU;QACV,kCAAkC;QAClC,KAAK;QACL,iCAAiC;QACjC,yBAAyB;QACzB,KAAK;IACT,CAAC;IAED,yCAAyC;IACzC,+CAA+C;IAC/C,sEAAsE;IACtE,wDAAwD;IACxD,kDAAkD;IAElD,8BAA8B;IAC9B,YAAY;IAEZ,eAAe;IACf,0BAA0B;IAC1B,QAAQ;IACR,IAAI;IAEG,4BAA4B;QAC/B,8EAA8E;QAC9E,0EAA0E;QAC1E,0DAA0D;QAE1D,2EAA2E;QAC3E,OAAO,IAAI,KAAK,EAAE,CAAC;IACvB,CAAC;IAGM,MAAM,KAAK,QAAQ;QACtB,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;CACJ"}
|