@xviewer.js/core 1.0.4-alpha.5 → 1.0.4-alpha.6
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 +5 -16
- package/dist/main.cjs.map +1 -1
- package/dist/module.js +5 -16
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -2272,22 +2272,11 @@ class ComponentScheduler {
|
|
|
2272
2272
|
}
|
|
2273
2273
|
}
|
|
2274
2274
|
constructor(){
|
|
2275
|
-
this.startInvoker = new InvokerOneCall((comp)=>
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
this.
|
|
2280
|
-
!comp.start && comp.update(dt);
|
|
2281
|
-
});
|
|
2282
|
-
this.lastUpdateInvoker = new Invoker((comp, dt)=>{
|
|
2283
|
-
!comp.start && comp.lastUpdate(dt);
|
|
2284
|
-
});
|
|
2285
|
-
this.renderInvoker = new Invoker((comp, dt)=>{
|
|
2286
|
-
!comp.start && comp.render(dt);
|
|
2287
|
-
});
|
|
2288
|
-
this.resizeInvoker = new Invoker((comp, width, height)=>{
|
|
2289
|
-
!comp.start && comp.resize(width, height);
|
|
2290
|
-
});
|
|
2275
|
+
this.startInvoker = new InvokerOneCall((comp)=>comp.start());
|
|
2276
|
+
this.updateInvoker = new Invoker((comp, dt)=>comp.update(dt));
|
|
2277
|
+
this.lastUpdateInvoker = new Invoker((comp, dt)=>comp.lastUpdate(dt));
|
|
2278
|
+
this.renderInvoker = new Invoker((comp, dt)=>comp.render(dt));
|
|
2279
|
+
this.resizeInvoker = new Invoker((comp, width, height)=>comp.resize(width, height));
|
|
2291
2280
|
}
|
|
2292
2281
|
}
|
|
2293
2282
|
|