Skip to content

Commit

Permalink
Merge pull request gotosleep#44 from itruf/patch-1
Browse files Browse the repository at this point in the history
Added correct work of "recognizesPanGesture" bool
  • Loading branch information
gotosleep committed Mar 2, 2013
2 parents 3b77da3 + eb7227f commit 98932fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions JASidePanels/Source/JASidePanelController.m
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,10 @@ - (void)_addPanGestureToView:(UIView *)view {
}

- (void)_handlePan:(UIGestureRecognizer *)sender {
if (!_recognizesPanGesture) {
return;
}

if ([sender isKindOfClass:[UIPanGestureRecognizer class]]) {
UIPanGestureRecognizer *pan = (UIPanGestureRecognizer *)sender;

Expand Down

0 comments on commit 98932fd

Please sign in to comment.