@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/module.js CHANGED
@@ -2252,22 +2252,11 @@ class ComponentScheduler {
2252
2252
  }
2253
2253
  }
2254
2254
  constructor(){
2255
- this.startInvoker = new InvokerOneCall((comp)=>{
2256
- comp.start();
2257
- comp.start = undefined;
2258
- });
2259
- this.updateInvoker = new Invoker((comp, dt)=>{
2260
- !comp.start && comp.update(dt);
2261
- });
2262
- this.lastUpdateInvoker = new Invoker((comp, dt)=>{
2263
- !comp.start && comp.lastUpdate(dt);
2264
- });
2265
- this.renderInvoker = new Invoker((comp, dt)=>{
2266
- !comp.start && comp.render(dt);
2267
- });
2268
- this.resizeInvoker = new Invoker((comp, width, height)=>{
2269
- !comp.start && comp.resize(width, height);
2270
- });
2255
+ this.startInvoker = new InvokerOneCall((comp)=>comp.start());
2256
+ this.updateInvoker = new Invoker((comp, dt)=>comp.update(dt));
2257
+ this.lastUpdateInvoker = new Invoker((comp, dt)=>comp.lastUpdate(dt));
2258
+ this.renderInvoker = new Invoker((comp, dt)=>comp.render(dt));
2259
+ this.resizeInvoker = new Invoker((comp, width, height)=>comp.resize(width, height));
2271
2260
  }
2272
2261
  }
2273
2262