Skip to content

Commit

Permalink
Fix renderer canvas size
Browse files Browse the repository at this point in the history
  • Loading branch information
delasy committed Nov 5, 2024
1 parent 0e08522 commit 3daf553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/Renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class Renderer {

this.canvas2 = document.createElement("canvas");

this.ctx = prepareCanvas(canvas, this.h, this.w);
this.ctx = prepareCanvas(canvas, this.w, this.h);
this.ctx2 = prepareCanvas(this.canvas2, this.cellSize, this.cellSize);
}

Expand Down

0 comments on commit 3daf553

Please sign in to comment.