From b8365794966f5b3d5a096bd6abcad805416aa59d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 1 Jul 2015 13:13:37 -0500 Subject: [PATCH 1/2] Update iCarousel.m --- iCarousel/iCarousel.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iCarousel/iCarousel.m b/iCarousel/iCarousel.m index be33a13f..b578fd7d 100644 --- a/iCarousel/iCarousel.m +++ b/iCarousel/iCarousel.m @@ -2078,6 +2078,9 @@ - (void)didTap:(UITapGestureRecognizer *)tapGesture [self scrollToItemAtIndex:self.currentItemIndex animated:YES]; } } + else { + [self scrollToItemAtIndex:self.currentItemIndex animated:YES]; + } } - (void)didPan:(UIPanGestureRecognizer *)panGesture From 22ebf28fba3f1ffd9e46976b81121e709453a695 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 8 Jul 2015 16:26:37 -0500 Subject: [PATCH 2/2] Update iCarousel.m --- iCarousel/iCarousel.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iCarousel/iCarousel.m b/iCarousel/iCarousel.m index b578fd7d..396c1945 100644 --- a/iCarousel/iCarousel.m +++ b/iCarousel/iCarousel.m @@ -2078,7 +2078,8 @@ - (void)didTap:(UITapGestureRecognizer *)tapGesture [self scrollToItemAtIndex:self.currentItemIndex animated:YES]; } } - else { + else + { [self scrollToItemAtIndex:self.currentItemIndex animated:YES]; } }