Skip to content

Commit

Permalink
Merge pull request #58 from xmartlabs/fix/57
Browse files Browse the repository at this point in the history
Navigation Page Control from Twitter Pager can not be selected by a u…
  • Loading branch information
michaelEllisUy committed Aug 14, 2015
2 parents a451e19 + 9dcbca5 commit c433a07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ Version 2.0.0 (master)
* Bug Fix Issue #45: When the current tab is tapped by the user, and later swiping to another tab, the indicator now changes as expected.
* Bug Fix: When scrolling between tabs with progressive indicator, the indicator now scrolls swiftly. It used to jump for an instant.
* Bug Fix Issue #54: Twitter PagerTabStrip wasn't loading the navigation title correctly.
* Bug Fix Issue ##32: Demo for Nav Button Bar Example fix.
* Bug Fix Issue #32: Demo for Nav Button Bar Example fix.
* Bug Fix Issue #32: Twitter Pager white dots that mark which tab is currently selected is non selectable now.

Version 1.1.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ - (void)viewDidLoad
self.navigationItem.titleView = self.navigationView;
}


[self.navigationView addObserver:self forKeyPath:@"frame" options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld context:0];
[self.navigationView setFrame:CGRectMake(0, 0, CGRectGetWidth(self.navigationController.navigationBar.frame) , CGRectGetHeight(self.navigationController.navigationBar.frame))];

Expand Down Expand Up @@ -125,6 +126,7 @@ -(FXPageControl *)navigationPageControl
[_navigationPageControl setDotSpacing:4.0f];
[_navigationPageControl setDotColor:[UIColor colorWithWhite:1 alpha:0.4]];
[_navigationPageControl setSelectedDotColor:[UIColor whiteColor]];
[_navigationPageControl setUserInteractionEnabled:false];
return _navigationPageControl;
}

Expand Down

0 comments on commit c433a07

Please sign in to comment.