on master help sign in
Fix #703, traces are now just lines but they're much faster!
commit93d2efe9c8736cd7c3aba45984312c3ca7c423c6 authorMichael James <michael@michaelbjames.com> dateThu 24 Jul 2014, 17:00 (12 years ago) parentd29ba52
1 file changed−9
runtime/Debugger.js−9
runtime/Debugger.js−9
@@ -451,15 +451,6 @@ function tracePathInit(runtime, signalGraphMain) {
451451 ctx.lineWidth = 1;
452452 ctx.strokeStyle = "rgba(50, 50, 50, 0.4)";
453453 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− }
463454 }
464455
465456 ctx.restore();