@@ -564,7 +564,7 @@ - (void)animateOperation:(ECSlidingViewControllerOperation)operation {
564
564
return ;
565
565
}
566
566
if (self.transitionInProgress ) return ;
567
-
567
+
568
568
self.view .userInteractionEnabled = NO ;
569
569
570
570
self.transitionInProgress = YES ;
@@ -675,23 +675,23 @@ - (UIViewController *)viewControllerWillDisappearForSuccessfulOperation:(ECSlidi
675
675
676
676
- (void )updateTopViewGestures {
677
677
BOOL topViewIsAnchored = self.currentTopViewPosition == ECSlidingViewControllerTopViewPositionAnchoredLeft ||
678
- self.currentTopViewPosition == ECSlidingViewControllerTopViewPositionAnchoredRight;
678
+ self.currentTopViewPosition == ECSlidingViewControllerTopViewPositionAnchoredRight;
679
679
UIView *topView = self.topViewController .view ;
680
-
680
+
681
681
if (topViewIsAnchored) {
682
682
if (self.topViewAnchoredGesture & ECSlidingViewControllerAnchoredGestureDisabled) {
683
683
topView.userInteractionEnabled = NO ;
684
684
} else {
685
685
self.gestureView .frame = topView.frame ;
686
-
686
+
687
687
if (self.topViewAnchoredGesture & ECSlidingViewControllerAnchoredGesturePanning &&
688
688
![self .customAnchoredGesturesViewMap objectForKey: self .panGesture]) {
689
689
[self .customAnchoredGesturesViewMap setObject: self .panGesture.view forKey: self .panGesture];
690
690
[self .panGesture.view removeGestureRecognizer: self .panGesture];
691
691
[self .gestureView addGestureRecognizer: self .panGesture];
692
692
if (!self.gestureView .superview ) [self .view insertSubview: self .gestureView aboveSubview: topView];
693
693
}
694
-
694
+
695
695
if (self.topViewAnchoredGesture & ECSlidingViewControllerAnchoredGestureTapping &&
696
696
![self .customAnchoredGesturesViewMap objectForKey: self .resetTapGesture]) {
697
697
[self .gestureView addGestureRecognizer: self .resetTapGesture];
0 commit comments