on master help sign in
Fix #703, traces are now just lines but they're much faster!
93d2efeMichael James
runtime/Debugger.js−9
@@ -451,15 +451,6 @@ function tracePathInit(runtime, signalGraphMain) {
451 ctx.lineWidth = 1;
451 ctx.lineWidth = 1;
452 ctx.strokeStyle = "rgba(50, 50, 50, 0.4)";
452 ctx.strokeStyle = "rgba(50, 50, 50, 0.4)";
453 ctx.stroke();
453 ctx.stroke();
454−
455− for (var i=0; i < points.length; i++)
456− {
457− var p = points[i];
458− ctx.beginPath();
459− ctx.arc(p.x, p.y, 2, 0, Math.PI * 2);
460− ctx.fillStyle = "rgba(50, 50, 50, 0.4)";
461− ctx.fill();
462− }
463 }
454 }
464
455
465 ctx.restore();
456 ctx.restore();