FIx slider layering issue on iOS 14. Issue #2482

This commit is contained in:
Maurice Parker 2020-10-05 17:28:03 -05:00
parent dcdefc3931
commit 8ab762c860
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class TickMarkSlider: UISlider {
let tick = UIView()
tick.translatesAutoresizingMaskIntoConstraints = false
tick.backgroundColor = AppAssets.tickMarkColor
insertSubview(tick, belowSubview: self)
insertSubview(tick, at: 0)
tick.widthAnchor.constraint(equalToConstant: 3).isActive = true
tick.heightAnchor.constraint(equalToConstant: 10).isActive = true