Ooopsie on setLineDash

This commit is contained in:
JP Stringham
2026-01-21 10:10:10 -05:00
parent af707ac266
commit ae938e3993

View File

@@ -99,10 +99,10 @@
context.strokeStyle = "#ccc"; context.strokeStyle = "#ccc";
context.setLineDash = [3, 3]; context.setLineDash([3, 3]);
for (let x = 0; x <= 10; x++) { for (let x = 0; x <= 10; x++) {
let x_px = x*60 + 100; let x_px = x*60 + 100;
context.fillText(`${x/10}`, x_px, 580); context.fillText(`${x/20}s`, x_px, 580);
context.beginPath(); context.beginPath();
context.moveTo(x_px, 580); context.moveTo(x_px, 580);
context.lineTo(x_px, 20); context.lineTo(x_px, 20);