Skip to content

Commit

Permalink
fix: fix issue with cornerType not setted
Browse files Browse the repository at this point in the history
  • Loading branch information
neuqzxy committed Dec 30, 2024
1 parent 3b1356a commit 848f3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vrender-core/src/common/shape/rect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function createRectPath(
width: number,
height: number,
rectCornerRadius: number | number[],
roundCorner: boolean,
roundCorner: boolean = true,
edgeCb?: IEdgeCb[]
) {
if (width < 0) {
Expand Down

0 comments on commit 848f3b1

Please sign in to comment.