Skip to content

Commit

Permalink
fix(pie): fix skip angle for slice labels
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Dec 18, 2020
1 parent 9365ae2 commit 70c1ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pie/src/SliceLabels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const SliceLabels = <RawDatum,>({
() =>
data.filter(datum => {
return (
Math.abs(radiansToDegrees(datum.arc.endAngle - datum.arc.startAngle)) <
Math.abs(radiansToDegrees(datum.arc.endAngle - datum.arc.startAngle)) >=
skipAngle
)
}),
Expand Down

0 comments on commit 70c1ef2

Please sign in to comment.