Skip to content

Commit

Permalink
Fix pan bug when launching in landscape
Browse files Browse the repository at this point in the history
  • Loading branch information
cvanderschuere committed Dec 14, 2012
1 parent 9e6fc6e commit 21ac813
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions JASidePanels/Source/JASidePanelController.m
Expand Up @@ -177,6 +177,10 @@ - (void)viewWillAppear:(BOOL)animated {
[self styleContainer:self.centerPanelContainer animate:NO duration:0.0f];
}

- (void)viewDidAppear:(BOOL)animated{
[self _adjustCenterFrame]; //Account for possible rotation while view appearing
}

#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0

- (void)viewDidUnload {
Expand Down

0 comments on commit 21ac813

Please sign in to comment.