Generalized UIImage use in TGPDiscreteSlider
This commit is contained in:
parent
eb5d751045
commit
d4a3d49e4d
|
|
@ -132,6 +132,8 @@ public class TGPDiscreteSlider:TGPSlider_INTERFACE_BUILDER {
|
|||
didSet {
|
||||
if let thumbImage = thumbImage {
|
||||
thumbLayer.contents = thumbImage.cgImage
|
||||
} else {
|
||||
thumbLayer.contents = nil
|
||||
}
|
||||
layoutTrack()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue