Skip to content

Commit

Permalink
Update CircleProgressView.java
Browse files Browse the repository at this point in the history
set initial value to 0 to fix visual glitch on first draw
  • Loading branch information
Tobias-Ma committed Dec 7, 2016
1 parent 7abc5d3 commit 3a13c16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class CircleProgressView extends View {
protected RectF mCircleInnerContour = new RectF();
//value animation
Direction mDirection = Direction.CW;
float mCurrentValue = 42;
float mCurrentValue = 0;
float mValueTo = 0;
float mValueFrom = 0;
float mMaxValue = 100;
Expand Down

0 comments on commit 3a13c16

Please sign in to comment.