Skip to content

Commit

Permalink
fix: fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoluoHe committed Dec 25, 2024
1 parent 61c02e6 commit 48bab12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vrender-components/src/label/arc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export class ArcLabel extends LabelBase<ArcLabelAttrs> {
graphicAttribute.outerRadius,
center
);
arc.refArc = currentMark;
arc.refArc = currentMark as IArc;
arc.pointA = polarToCartesian(
center as IPoint,
this.computeDatumRadius(center.x * 2, center.y * 2, graphicAttribute.outerRadius),
Expand Down

0 comments on commit 48bab12

Please sign in to comment.