Skip to content

Commit

Permalink
fixed angle
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacek Kwiecień committed Jun 16, 2015
1 parent 2a8de51 commit 4f3d671
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 96 deletions.
93 changes: 0 additions & 93 deletions app/sample.iml

This file was deleted.

4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 22
versionCode 2
versionName "1.0.1"
versionCode 3
versionName "1.0.2"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private int calculateAngle(int progress) {

float percentProgress = (float) progress / (float) maxProgress;
int angle = (int) (360.0 * percentProgress);
return angle * -1;
return angle;
}

public void setProgress(int newProgress) {
Expand Down

0 comments on commit 4f3d671

Please sign in to comment.