Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixes #46. Ignore UISlider in gesture recognizer #117

Merged
merged 1 commit into from

2 participants

@anfinil

No description provided.

@Inferis Inferis merged commit acad9bc into Inferis:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 6, 2012
  1. @anfinil
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 0 deletions.
  1. +5 −0 ViewDeck/IIViewDeckController.m
View
5 ViewDeck/IIViewDeckController.m
@@ -1187,6 +1187,11 @@ - (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer {
}
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch {
+ if([[touch view] isKindOfClass:[UISlider class]])
+ {
+ return NO;
+ }
+
_panOrigin = self.slidingControllerView.frame.origin.x;
return YES;
}
Something went wrong with that request. Please try again.