Skip to content

Commit

Permalink
Use thumb text color
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiletAbylov committed Oct 30, 2014
1 parent 5919b08 commit 33572df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SVSegmentedControl/SVSegmentedControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,11 @@ - (void)updateLabels
{
if (i == self.selectedSegmentIndex)
{
label.textColor = self.thumb.textColor;
label.font = self.selectedSegmentFont;
} else
{
label.textColor = self.textColor;
label.font = self.font;
}
i++;
Expand Down

0 comments on commit 33572df

Please sign in to comment.