removed positioning up 1 pixel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
8b1f5db3e6
commit
571b41b54e
@ -87,11 +87,8 @@ extension Tabs {
|
|||||||
open override func setup() {
|
open override func setup() {
|
||||||
super.setup()
|
super.setup()
|
||||||
addSubview(label)
|
addSubview(label)
|
||||||
backgroundColor = .clear
|
|
||||||
accessibilityTraits = .button
|
accessibilityTraits = .button
|
||||||
|
|
||||||
label.backgroundColor = .clear
|
|
||||||
|
|
||||||
label.translatesAutoresizingMaskIntoConstraints = false
|
label.translatesAutoresizingMaskIntoConstraints = false
|
||||||
label.pinTrailing()
|
label.pinTrailing()
|
||||||
|
|
||||||
@ -167,7 +164,7 @@ extension Tabs {
|
|||||||
if orientation == .horizontal {
|
if orientation == .horizontal {
|
||||||
indicator = indicatorPosition.value
|
indicator = indicatorPosition.value
|
||||||
}
|
}
|
||||||
addBorder(side: indicator, width: indicatorWidth, color: indicatorColorConfiguration.getColor(self), offset: 1)
|
addBorder(side: indicator, width: indicatorWidth, color: indicatorColorConfiguration.getColor(self))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user