[bug]: Fixed sub-paths for lines not being reset #7
@ -92,6 +92,7 @@ class CanvasRenderer {
|
||||
|
||||
ctx.fill();
|
||||
} else if (child.style && child.target) {
|
||||
ctx.beginPath();
|
||||
ctx.moveTo(0,0);
|
||||
ctx.lineTo(child.target.x, child.target.y);
|
||||
ctx.strokeStyle = child.style;
|
||||
|
Loading…
Reference in New Issue
Block a user