Skip to content

Commit

Permalink
Merge pull request #34 from felipowsky/fix-handlecolor
Browse files Browse the repository at this point in the history
Fix handleColor
  • Loading branch information
TomThorpe committed May 6, 2016
2 parents a4aa4d9 + ef05f46 commit c15e65f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Pod/Classes/TTRangeSlider.m
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ - (void)tintColorDidChange {
[CATransaction setAnimationDuration:0.5];
[CATransaction setAnimationTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut] ];
self.sliderLine.backgroundColor = color;
self.leftHandle.backgroundColor = color;
self.rightHandle.backgroundColor = color;
if (self.handleColor == nil) {
self.leftHandle.backgroundColor = color;
self.rightHandle.backgroundColor = color;
}

if (self.minLabelColour == nil){
self.minLabel.foregroundColor = color;
Expand Down

0 comments on commit c15e65f

Please sign in to comment.