Skip to content

Commit

Permalink
updated to properly size the incoming frame
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Johnson committed Sep 18, 2013
1 parent c65d188 commit 44d7b32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TWTSideMenuViewController/TWTSideMenuViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ - (void)setMainViewController:(UIViewController *)mainViewController animated:(B
[self addShadowToViewController:incomingViewController];
[self addViewController:incomingViewController];
[self.containerView addSubview:incomingViewController.view];


incomingViewController.view.frame = self.containerView.bounds;
incomingViewController.view.transform = CGAffineTransformTranslate(incomingViewController.view.transform, outgoingStartX, 0.0f);

void (^swapChangeBlock)(void) = ^{
Expand Down

0 comments on commit 44d7b32

Please sign in to comment.