mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 03:56:55 +01:00
Fix tick mark placement which looked bad on iOS 14
This commit is contained in:
parent
a63466f7b3
commit
69fb9421a6
@ -37,7 +37,7 @@ class TickMarkSlider: UISlider {
|
|||||||
let tick = UIView()
|
let tick = UIView()
|
||||||
tick.translatesAutoresizingMaskIntoConstraints = false
|
tick.translatesAutoresizingMaskIntoConstraints = false
|
||||||
tick.backgroundColor = AppAssets.tickMarkColor
|
tick.backgroundColor = AppAssets.tickMarkColor
|
||||||
insertSubview(tick, belowSubview: self)
|
insertSubview(tick, at: 0)
|
||||||
|
|
||||||
tick.widthAnchor.constraint(equalToConstant: 3).isActive = true
|
tick.widthAnchor.constraint(equalToConstant: 3).isActive = true
|
||||||
tick.heightAnchor.constraint(equalToConstant: 10).isActive = true
|
tick.heightAnchor.constraint(equalToConstant: 10).isActive = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user