Skip to content

Commit 1af9952

Browse files
committed
Adjust frame of topViewSnapshot during rotation
1 parent 993a18d commit 1af9952

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ECSlidingViewController/Vendor/ECSlidingViewController/ECSlidingViewController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ - (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceO
201201

202202
- (void)adjustLayout
203203
{
204+
self.topViewSnapshot.frame = self.topView.bounds;
205+
204206
if ([self underRightShowing] && ![self topViewIsOffScreen]) {
205207
[self updateUnderRightLayout];
206208
[self updateTopViewHorizontalCenter:self.anchorLeftTopViewCenter];

0 commit comments

Comments
 (0)