Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixes #46. Ignore UISlider in gesture recognizer #117

Merged
merged 1 commit into from

2 participants

Nick Zhebrun Tom Adriaenssen
Nick Zhebrun

No description provided.

Tom Adriaenssen Inferis merged commit acad9bc into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 6, 2012
  1. Nick Zhebrun
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 0 deletions.
  1. +5 −0 ViewDeck/IIViewDeckController.m
5 ViewDeck/IIViewDeckController.m
View
@@ -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.