mirror of
https://github.com/zhigang1992/ECSlidingViewController.git
synced 2026-01-12 22:46:53 +08:00
Adjust frame of topViewSnapshot during rotation
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user