Skip to content
Snippets Groups Projects
Commit 93f7cb2d authored by George Nachman's avatar George Nachman Committed by GitHub
Browse files

Merge pull request #328 from 343max/FixActivityIndicator

Fix apparent direction of animation of activity indicator in the tabbar
parents fb818c17 409d5840
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -149,8 +149,8 @@ static CGFloat DegreesToRadians(double radians) {
 
for (NSInteger i = 0; i < self.numberOfSteps; i++) {
CGFloat currentAngle = initialAngle - DegreesToRadians(anglePerStep) * i;
[[_color colorWithAlphaComponent:1.0 - sqrt(i) * 0.25] set];
[[_color colorWithAlphaComponent:1.0 - sqrt(self.numberOfSteps - 1 - i) * 0.25] set];
outerPoint = NSMakePoint(center.x + cos(currentAngle) * outerRadius,
center.y + sin(currentAngle) * outerRadius);
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment