Skip to content

Commit

Permalink
Remove explicit frame set (it’s implied by the constraints, but break…
Browse files Browse the repository at this point in the history
…s animation on ios7)
  • Loading branch information
mtrudel committed Sep 25, 2014
1 parent 8c5062d commit 211e737
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Classes/iOS/MTStackableNavigationController.m
Expand Up @@ -419,7 +419,6 @@ - (void)layoutViewControllersToFinalStateImmediate:(NSArray *)toLayout isReveal:
CGFloat peek = [self ancestorViewControllerTo:viewController].stackableNavigationItem.leftPeek;
viewController.stackableNavigationItem.leftLayout.constant = peek;
viewController.stackableNavigationItem.rightLayout.constant = 0;
viewController.stackableNavigationItem.containerView.frame = CGRectMake(peek, 0, self.view.bounds.size.width - peek, self.view.bounds.size.height);
} else {
viewController.stackableNavigationItem.leftLayout.constant = 0;
viewController.stackableNavigationItem.rightLayout.constant = 0;
Expand Down

0 comments on commit 211e737

Please sign in to comment.