diff --git a/.gitignore b/.gitignore index 6b3620b..623026a 100644 --- a/.gitignore +++ b/.gitignore @@ -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.* diff --git a/RevealControllerStoryboardExample/RevealControllerStoryboardExample.xcodeproj/project.xcworkspace/xcuserdata/joan.xcuserdatad/UserInterfaceState.xcuserstate b/RevealControllerStoryboardExample/RevealControllerStoryboardExample.xcodeproj/project.xcworkspace/xcuserdata/joan.xcuserdatad/UserInterfaceState.xcuserstate index 25d02d7..0c1d28d 100644 Binary files a/RevealControllerStoryboardExample/RevealControllerStoryboardExample.xcodeproj/project.xcworkspace/xcuserdata/joan.xcuserdatad/UserInterfaceState.xcuserstate and b/RevealControllerStoryboardExample/RevealControllerStoryboardExample.xcodeproj/project.xcworkspace/xcuserdata/joan.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/SWRevealViewController/SWRevealViewController.m b/SWRevealViewController/SWRevealViewController.m index d2315c6..e6f4de1 100755 --- a/SWRevealViewController/SWRevealViewController.m +++ b/SWRevealViewController/SWRevealViewController.m @@ -357,6 +357,7 @@ - (void)_initDefaultProperties _toggleAnimationDuration = 0.25; _frontViewShadowRadius = 2.5f; _frontViewShadowOffset = CGSizeMake(0.0f, 2.5f); + _userInteractionStore = YES; _animationQueue = [NSMutableArray array]; } @@ -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](); }