Skip to content

Commit

Permalink
We need an "equals or less" here
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Aug 14, 2016
1 parent bab5b9d commit be12f15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ protected void drawDataSet(Canvas c, IPieDataSet dataSet) {

float arcStartPointX = 0.f, arcStartPointY = 0.f;

if (sweepAngleOuter % 360f < Utils.FLOAT_EPSILON) {
if (sweepAngleOuter % 360f <= Utils.FLOAT_EPSILON) {
// Android is doing "mod 360"
mPathBuffer.addCircle(center.x, center.y, radius, Path.Direction.CW);
} else {
Expand Down

0 comments on commit be12f15

Please sign in to comment.