feat(debug): add console logs to FxLayer

This commit is contained in:
Restart2008
2025-11-22 14:33:17 -08:00
parent bc49debfa1
commit 12498ab762
+1
View File
@@ -411,6 +411,7 @@ export class FxLayer implements Layer {
renderAllFx(context: CanvasRenderingContext2D, delta: number) {
if (this.allFx.length > 0) {
console.log("allFx array:", this.allFx);
this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);
this.renderContextFx(delta);
}