Skip to content
Snippets Groups Projects
Commit faf3b633 authored by George Nachman's avatar George Nachman
Browse files

Merge branch 'master' of https://github.com/gnachman/iTerm2

parents c33f7118 93f7cb2d
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