Skip to content

Commit

Permalink
🎨 Add missing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
EliotRagueneau committed Dec 15, 2023
1 parent c82b194 commit f07be58
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/extensions/renderer/canvas/drawing-nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ CRp.drawNode = function( context, node, shiftToOriginWithBb, drawLabel = true, s
}

if ( borderPosition !== 'center') {
context.save()
context.save();
context.lineWidth *= 2;
if (borderPosition === 'inside') {
usePaths ? context.clip(path) : context.clip();
Expand All @@ -261,12 +261,12 @@ CRp.drawNode = function( context, node, shiftToOriginWithBb, drawLabel = true, s
-nodeHeight / 2 - borderWidth,
nodeWidth + 2 * borderWidth,
nodeHeight + 2 * borderWidth
)
region.addPath(path)
context.clip(region, 'evenodd')
);
region.addPath(path);
context.clip(region, 'evenodd');
}
usePaths ? context.stroke(path) : context.stroke();
context.restore()
context.restore();
} else {
usePaths ? context.stroke(path) : context.stroke();
}
Expand Down

0 comments on commit f07be58

Please sign in to comment.