File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/com/todddavies/components/progressbar Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public class ProgressWheel extends View {
6161 //The amount of pixels to move the bar by on each draw
6262 private float spinSpeed = 2f ;
6363 //The number of milliseconds to wait in between each draw
64- private int delayMillis = 0 ;
64+ private int delayMillis = 10 ;
6565 private float progress = 0 ;
6666 boolean isSpinning = false ;
6767
@@ -239,7 +239,7 @@ private void parseAttributes(TypedArray a) {
239239 barLength = (int ) a .getDimension (R .styleable .ProgressWheel_barLength , barLength );
240240
241241 delayMillis = a .getInteger (R .styleable .ProgressWheel_delayMillis , delayMillis );
242- if (delayMillis < 0 ) { delayMillis = 0 ; }
242+ if (delayMillis < 0 ) { delayMillis = 10 ; }
243243
244244 // Only set the text if it is explicitly defined
245245 if (a .hasValue (R .styleable .ProgressWheel_text )) {
You can’t perform that action at this time.
0 commit comments