Fixing issue 46

This commit is contained in:
mikeEllis 2015-08-13 16:36:59 -03:00
parent fa5d0f799f
commit 29f382016c
2 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,7 @@ Version 2.0.0 (master)
* `changeCurrentIndexProgressiveBlock` added to `XLButtonBarPagerTabStripViewController`.
* `changeCurrentIndexBlock` added to `XLButtonBarPagerTabStripViewController`.
* indxWasChanged parameter was added to `-(void)pagerTabStripViewController:(XLPagerTabStripViewController *)pagerTabStripViewController updateIndicatorFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex withProgressPercentage:(CGFloat)progressPercentage indexWasChanged:(BOOL)indexWasChanged;`
* Bug fix Issue #45: When the current tab is tapped by the user, swiping between tabs is now working as expected.
Version 1.1.1

View File

@ -168,6 +168,7 @@
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
//There's nothing to do if we select the current selected tab
if (indexPath.item == self.currentIndex)
return;