Permalink
Browse files

Allow under views to modify their frame. fixes #78

  • Loading branch information...
1 parent ef3574b commit f8660377255bcf7df654fba5db7e0c4655b82e04 @enriquez enriquez committed Jan 24, 2013
View
4 ECSlidingViewController/Vendor/ECSlidingViewController/ECSlidingViewController.m
@@ -504,8 +504,8 @@ - (void)underLeftWillAppear
[[NSNotificationCenter defaultCenter] postNotificationName:ECSlidingViewUnderLeftWillAppear object:self userInfo:nil];
});
[self.underRightView removeFromSuperview];
- [self.view insertSubview:self.underLeftView belowSubview:self.topView];
[self updateUnderLeftLayout];
+ [self.view insertSubview:self.underLeftView belowSubview:self.topView];
_underLeftShowing = YES;
_underRightShowing = NO;
}
@@ -516,8 +516,8 @@ - (void)underRightWillAppear
[[NSNotificationCenter defaultCenter] postNotificationName:ECSlidingViewUnderRightWillAppear object:self userInfo:nil];
});
[self.underLeftView removeFromSuperview];
- [self.view insertSubview:self.underRightView belowSubview:self.topView];
[self updateUnderRightLayout];
+ [self.view insertSubview:self.underRightView belowSubview:self.topView];
_underLeftShowing = NO;
_underRightShowing = YES;
}

0 comments on commit f866037

Please sign in to comment.