Skip to content

Commit

Permalink
Fixed issue 41
Browse files Browse the repository at this point in the history
  • Loading branch information
andreamazz committed Mar 31, 2014
1 parent ae4edad commit eb1d3d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AMScrollingNavbar/UIViewController+ScrollingNavbar.m
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,11 @@ - (void)updateNavbarAlpha:(CGFloat)delta
[self.navigationItem.leftBarButtonItems enumerateObjectsUsingBlock:^(UIBarButtonItem* obj, NSUInteger idx, BOOL *stop) {
obj.customView.alpha = alpha;
}];
self.navigationItem.leftBarButtonItem.customView.alpha = alpha;
[self.navigationItem.rightBarButtonItems enumerateObjectsUsingBlock:^(UIBarButtonItem* obj, NSUInteger idx, BOOL *stop) {
obj.customView.alpha = alpha;
}];
self.navigationItem.rightBarButtonItem.customView.alpha = alpha;
self.navigationItem.titleView.alpha = alpha;
self.navigationController.navigationBar.tintColor = [self.navigationController.navigationBar.tintColor colorWithAlphaComponent:alpha];
}
Expand Down

0 comments on commit eb1d3d1

Please sign in to comment.