Skip to content

Commit

Permalink
Fix: jakob-grabner#14 Removed unnecessary log.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-grabner committed Sep 17, 2015
1 parent 2b791d2 commit fb05b9a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import android.support.annotation.FloatRange;
import android.support.annotation.IntRange;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;

Expand Down Expand Up @@ -766,7 +765,6 @@ private int getTextColor(double value) {
low = mBarColors.length -2;
high = mBarColors.length -1;
}
Log.w(TAG, value+" - "+percent+" - " + low + " : " + high + " - " + (float)(1- (((mBarColors.length-1) * percent) % 1d)));
return ColorUtils.getRGBGradient(mBarColors[low], mBarColors[high], (float)(1- (((mBarColors.length-1) * percent) % 1d)));
}else if(mBarColors.length == 1){
return mBarColors[0];
Expand Down

0 comments on commit fb05b9a

Please sign in to comment.