From a363610335960afe19d7db7ca188092797af523f Mon Sep 17 00:00:00 2001 From: czhongm Date: Fri, 6 May 2016 14:26:06 +0800 Subject: [PATCH] Fix Bug:setCurProcess no effect --- lib/src/main/java/io/feeeei/circleseekbar/CircleSeekBar.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/main/java/io/feeeei/circleseekbar/CircleSeekBar.java b/lib/src/main/java/io/feeeei/circleseekbar/CircleSeekBar.java index 35ab880..8ff323c 100644 --- a/lib/src/main/java/io/feeeei/circleseekbar/CircleSeekBar.java +++ b/lib/src/main/java/io/feeeei/circleseekbar/CircleSeekBar.java @@ -368,6 +368,7 @@ public void setCurProcess(int curProcess) { if (mChangListener != null) { mChangListener.onChanged(this, mMaxProcess, curProcess); } + mCurAngle = (double) mCurProcess / mMaxProcess * 360.0; invalidate(); }