Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/helpers/helpers.canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ export function addRoundedRectPath(
const {x, y, w, h, radius} = rect;

// top left arc
ctx.arc(x + radius.topLeft, y + radius.topLeft, radius.topLeft, -HALF_PI, PI, true);
ctx.arc(x + radius.topLeft, y + radius.topLeft, radius.topLeft, 1.5 * PI, PI, true);

// line from top left to bottom left
ctx.lineTo(x, y + h - radius.bottomLeft);
Expand Down