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);