diff --git a/src/helpers/helpers.canvas.ts b/src/helpers/helpers.canvas.ts index 5221c438c26..a959d1dea1d 100644 --- a/src/helpers/helpers.canvas.ts +++ b/src/helpers/helpers.canvas.ts @@ -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);