Skip to content

Commit

Permalink
Merge pull request #29 from mkutgt72/bar_tint_color
Browse files Browse the repository at this point in the history
Use bar tint color instead of white color for the second color of the indeterminate progress bar drawing.
  • Loading branch information
Brandon McQuilkin committed Apr 20, 2014
2 parents 131c4f1 + 003880b commit 9d3c309
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ - (void)drawIndeterminateWithInterfaceOrientation:(UIInterfaceOrientation)interf
UIBezierPath *fillPath = [UIBezierPath bezierPathWithRect:CGRectMake(0, 0, stripeWidth * 4.0, stripeWidth * 4.0)];
[fillPath fill];
//Draw the stripes
[[UIColor whiteColor] setFill];
[self.navigationBar.barTintColor setFill];
for (int i = 0; i < 4; i++) {
//Create the four inital points of the fill shape
CGPoint bottomLeft = CGPointMake(-(stripeWidth * 4.0), stripeWidth * 4.0);
Expand Down

0 comments on commit 9d3c309

Please sign in to comment.