Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/335' into develop
Browse files Browse the repository at this point in the history
Conflicts:
	ViewDeck/IIViewDeckController.m
  • Loading branch information
Inferis committed Apr 24, 2013
2 parents dd4c179 + 6b23a94 commit 41c6d40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ViewDeck/IIViewDeckController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ - (BOOL)openSideView:(IIViewDeckSide)side animated:(BOOL)animated duration:(NSTi

if (duration == DEFAULT_DURATION) duration = [self openSlideDuration:animated];

UIViewAnimationOptions options = UIViewAnimationOptionCurveEaseOut | UIViewAnimationOptionLayoutSubviews | UIViewAnimationOptionBeginFromCurrentState;
UIViewAnimationOptions options = UIViewAnimationOptionLayoutSubviews | UIViewAnimationOptionBeginFromCurrentState;

IIViewDeckControllerBlock finish = ^(IIViewDeckController *controller, BOOL success) {
if (!success) {
Expand Down Expand Up @@ -1446,6 +1446,8 @@ - (BOOL)openSideView:(IIViewDeckSide)side animated:(BOOL)animated duration:(NSTi
return [self closeOpenViewAnimated:animated completion:finish];
}
else {
options |= UIViewAnimationOptionCurveEaseOut;

finish(self, YES);
return YES;
}
Expand Down

0 comments on commit 41c6d40

Please sign in to comment.