From ae938e39932f8be7f3e0ebd7b6382839eb32a454 Mon Sep 17 00:00:00 2001 From: JP Stringham Date: Wed, 21 Jan 2026 10:10:10 -0500 Subject: [PATCH] Ooopsie on setLineDash --- tests/draw.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/draw.html b/tests/draw.html index 6d18fff..48e9f87 100644 --- a/tests/draw.html +++ b/tests/draw.html @@ -99,10 +99,10 @@ context.strokeStyle = "#ccc"; - context.setLineDash = [3, 3]; + context.setLineDash([3, 3]); for (let x = 0; x <= 10; x++) { let x_px = x*60 + 100; - context.fillText(`${x/10}`, x_px, 580); + context.fillText(`${x/20}s`, x_px, 580); context.beginPath(); context.moveTo(x_px, 580); context.lineTo(x_px, 20);