TGPDiscreteSlider: Tint colour sets the track colour, rather than the 'fill' color
Closed this issue · 4 comments
fatuhoku commented
Thanks for this component. The discrete notches work really well.
Issue: I set the tintColor
in IB, thinking it'd change the default iOS blueish colour. It actually set the colour of the remainder of the track instead.
To me, tintColor
should be the fill colour, and the track colour should remain greyish by default.
fatuhoku commented
Better still, I expect that TGPDiscreteSlider
should adopt the minumum/maximumTrackTintColor
properties in UISlider
. See http://stackoverflow.com/a/21688426/590767
SwiftArchitect commented
Do you have a fix for this issue ; if not, I can release a new version.
fatuhoku commented
@SwiftArchitect Sorry no fix — please go ahead!
SwiftArchitect commented
This requires an API and behavior change. Will be available in TGPControls 2.0.