From 39380d76af990926719dce1bd77627fbecaac4ac Mon Sep 17 00:00:00 2001 From: Trimutex Date: Fri, 27 Dec 2024 10:29:58 -0600 Subject: [PATCH] pong: fix missing parenthesis --- src/pong.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pong.ts b/src/pong.ts index 0cc6efa..5f140e3 100644 --- a/src/pong.ts +++ b/src/pong.ts @@ -237,7 +237,7 @@ class PongCore { // draw dotted line down the middle for (let i = this.grid; i < this.canvas.height - this.grid; i += this.grid * 2) { - this.fillRect(new Box(this.canvas.width / 2 - this.grid / 2, i, this.grid, this.grid); + this.fillRect(new Box(this.canvas.width / 2 - this.grid / 2, i, this.grid, this.grid)); } }