Skip to content

Commit

Permalink
BorderRadius of Bar Chart issue on Firefox 116 (#11435)
Browse files Browse the repository at this point in the history
Co-authored-by: bogdankorshunov <[email protected]>
  • Loading branch information
bogdankorshunov and bogdankorshunov authored Aug 7, 2023
1 parent 79f1a0a commit 132324f
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 132324f

Please sign in to comment.