Skip to content

Commit 812f9b5

Browse files
committed
- Resizing shadow when viewVillLayout (fix for landscape right menu missing the shadow)
1 parent f32edb7 commit 812f9b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SlideMenu/Source/SlideNavigationController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ - (void)viewWillLayoutSubviews
111111
CGRect rect = self.view.frame;
112112
self.leftMenu.view.frame = rect;
113113
self.rightMenu.view.frame = rect;
114+
115+
self.view.layer.shadowPath = [UIBezierPath bezierPathWithRect:self.view.bounds].CGPath;
114116
}
115117

116118
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration

0 commit comments

Comments
 (0)