Skip to content

Commit

Permalink
chore: cr problem
Browse files Browse the repository at this point in the history
  • Loading branch information
skie1997 committed Sep 29, 2024
1 parent 8f487d5 commit 90247fb
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,7 @@ export class BrowserContext2d implements IContext2d {
this.bezierCurveTo(bez[0], bez[1], bez[2], bez[3], bez[4], bez[5], z);
}
} else {
if (radius <= 0) {
this.nativeContext.arc(x, y, 0, startAngle, endAngle, anticlockwise);
} else {
this.nativeContext.arc(x, y, radius, startAngle, endAngle, anticlockwise);
}
this.nativeContext.arc(x, y, Math.max(0, radius), startAngle, endAngle, anticlockwise);
}
}

Expand Down

0 comments on commit 90247fb

Please sign in to comment.