Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Joan Lluch committed Apr 19, 2013
1 parent 7c746bb commit 2eeebc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
#/RevealControllerProject3.xcodeproj/xcuserdata/Nick.xcuserdatad/
#/RevealControllerProject3.xcodeproj/project.xcworkspace/xcuserdata/Nick.xcuserdatad/
#/RevealControllerProject2.xcodeproj/xcuserdata/Nick.xcuserdatad/
#/RevealControllerProject2.xcodeproj/project.xcworkspace/xcuserdata/Nick.xcuserdatad/
#/RevealControllerProject.xcodeproj/xcuserdata/Nick.xcuserdatad/
#/RevealControllerProject.xcodeproj/project.xcworkspace/xcuserdata/Nick.xcuserdatad/


martinhj.*
hhernandez.*
joan.*
Expand Down
Binary file not shown.
3 changes: 3 additions & 0 deletions SWRevealViewController/SWRevealViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ - (void)_initDefaultProperties
_toggleAnimationDuration = 0.25;
_frontViewShadowRadius = 2.5f;
_frontViewShadowOffset = CGSizeMake(0.0f, 2.5f);
_userInteractionStore = YES;
_animationQueue = [NSMutableArray array];
}

Expand Down Expand Up @@ -750,11 +751,13 @@ - (void)_handleRevealGestureStateChangedWithRecognizer:(UIPanGestureRecognizer *
{
allowDragging = (_rightViewController != nil);
[self _rightViewDeploymentForNewFrontViewPosition:FrontViewPositionLeftSide]();
[self _rearViewDeploymentForNewFrontViewPosition:FrontViewPositionLeftSide]();
}

if ( xPosition > 0 )
{
allowDragging = (_rearViewController != nil);
[self _rightViewDeploymentForNewFrontViewPosition:FrontViewPositionRight]();
[self _rearViewDeploymentForNewFrontViewPosition:FrontViewPositionRight]();
}

Expand Down

0 comments on commit 2eeebc5

Please sign in to comment.