Skip to content

Commit

Permalink
Merge pull request #635 from briananderson1222/tap-outside-icarousel-…
Browse files Browse the repository at this point in the history
…item

Issue with snapping to View Item if a tap was detected in the iCarousel but not on a iCarousel View Item
  • Loading branch information
nicklockwood committed Jul 8, 2015
2 parents 4fd44e3 + 22ebf28 commit 8eba603
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iCarousel/iCarousel.m
Expand Up @@ -2078,6 +2078,10 @@ - (void)didTap:(UITapGestureRecognizer *)tapGesture
[self scrollToItemAtIndex:self.currentItemIndex animated:YES];
}
}
else
{
[self scrollToItemAtIndex:self.currentItemIndex animated:YES];
}
}

- (void)didPan:(UIPanGestureRecognizer *)panGesture
Expand Down

0 comments on commit 8eba603

Please sign in to comment.