Merge pull request #15 from hebertialmeida/patch-1

Fix context fill color
This commit is contained in:
Xavier Schott 2015-11-26 04:33:31 -08:00
commit f2929c7b14
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ static CGSize iosThumbShadowOffset = (CGSize){0, 3};
}
} // iOS UISlider aka ComponentStyleIOS does not have ticks
CGContextSetFillColor(ctx, CGColorGetComponents([self.tintColor CGColor]));
CGContextSetFillColorWithColor(ctx, [self.tintColor CGColor]);
CGContextFillPath(ctx);
// For colored track, we overlay a CALayer, which will animate along with the cursor