From 571b41b54ec78df8b49049fbadd417fc8b1eb5ef Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 8 Jun 2023 12:34:22 -0500 Subject: [PATCH] removed positioning up 1 pixel Signed-off-by: Matt Bruce --- VDS/Components/Tabs/Tab.swift | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/VDS/Components/Tabs/Tab.swift b/VDS/Components/Tabs/Tab.swift index 2b9ff6bc..f6294924 100644 --- a/VDS/Components/Tabs/Tab.swift +++ b/VDS/Components/Tabs/Tab.swift @@ -87,11 +87,8 @@ extension Tabs { open override func setup() { super.setup() addSubview(label) - backgroundColor = .clear accessibilityTraits = .button - - label.backgroundColor = .clear - + label.translatesAutoresizingMaskIntoConstraints = false label.pinTrailing() @@ -167,7 +164,7 @@ extension Tabs { if orientation == .horizontal { indicator = indicatorPosition.value } - addBorder(side: indicator, width: indicatorWidth, color: indicatorColorConfiguration.getColor(self), offset: 1) + addBorder(side: indicator, width: indicatorWidth, color: indicatorColorConfiguration.getColor(self)) } } }