Adjust frame of topViewSnapshot during rotation

This commit is contained in:
Mike Enriquez
2012-03-23 13:04:02 -04:00
parent 993a18d813
commit 1af9952eba

View File

@@ -201,6 +201,8 @@ NSString *const ECSlidingViewTopDidReset = @"ECSlidingViewTopDidReset";
- (void)adjustLayout
{
self.topViewSnapshot.frame = self.topView.bounds;
if ([self underRightShowing] && ![self topViewIsOffScreen]) {
[self updateUnderRightLayout];
[self updateTopViewHorizontalCenter:self.anchorLeftTopViewCenter];