like2d 2.10.0 → 2.10.1

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/engine.js CHANGED
@@ -130,7 +130,7 @@ export class Engine {
130
130
  const dt = (now - this.lastTime) / 1000;
131
131
  this.lastTime = now;
132
132
  if (!this.like.timer.isSleeping()) {
133
- this.canvas.dispatchEvent(new CustomEvent("update", { detail: { dt } }));
133
+ this.canvas.dispatchEvent(new CustomEvent("like:update", { detail: { dt } }));
134
134
  this.dispatch('update', [dt]);
135
135
  }
136
136
  this.canvas.dispatchEvent(new CustomEvent("like:preDraw"));