Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Friend-LGA committed Jan 6, 2017
1 parent 4734323 commit 9ac3687
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions LGSideMenuController/LGSideMenuController.m
Original file line number Diff line number Diff line change
Expand Up @@ -399,17 +399,17 @@ - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIVi
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];

if (self.isLeftViewGoingToShow) {
[self showLeftViewDoneWithGesture:self.leftViewGestireStartX];
[self showLeftViewDoneWithGesture:(self.leftViewGestireStartX != nil)];
}
else if (self.isLeftViewGoingToHide) {
[self hideLeftViewDoneWithGesture:self.leftViewGestireStartX];
[self hideLeftViewDoneWithGesture:(self.leftViewGestireStartX != nil)];
}

if (self.isRightViewGoingToShow) {
[self showRightViewDoneWithGesture:self.rightViewGestireStartX];
[self showRightViewDoneWithGesture:(self.rightViewGestireStartX != nil)];
}
else if (self.isRightViewGoingToHide) {
[self hideRightViewDoneWithGesture:self.rightViewGestireStartX];
[self hideRightViewDoneWithGesture:(self.rightViewGestireStartX != nil)];
}
}

Expand Down

0 comments on commit 9ac3687

Please sign in to comment.