diff --git a/src/extensions/renderer/canvas/drawing-edges.js b/src/extensions/renderer/canvas/drawing-edges.js index 7f9257ee7..5b36d6f4b 100644 --- a/src/extensions/renderer/canvas/drawing-edges.js +++ b/src/extensions/renderer/canvas/drawing-edges.js @@ -66,11 +66,11 @@ CRp.drawEdge = function( context, edge, shiftToOriginWithBb, drawLabel = true, s context.lineCap = lineCap; if (lineOutlineWidth > 0) { - r.colorStrokeStyle( context, lineOutlineColor[0], lineOutlineColor[1], lineOutlineColor[2], strokeOpacity ) + r.colorStrokeStyle( context, lineOutlineColor[0], lineOutlineColor[1], lineOutlineColor[2], strokeOpacity ); } else { // do not draw any lineOutline context.lineCap = 'butt'; // reset for other drawing functions - return + return; } if (curveStyle === 'straight-triangle') {