Skip to content

Commit

Permalink
Changes related to PhilJay#2119
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilJay committed Aug 14, 2016
1 parent 23c931d commit e710d16
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 < 0.00001f) {
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 e710d16

Please sign in to comment.