Commit fb734416 by Orkhan Alikhanov

Fixed line transition flick

parent f813e54b
...@@ -279,6 +279,7 @@ open class TabBar: Bar { ...@@ -279,6 +279,7 @@ open class TabBar: Bar {
didSet { didSet {
oldValue?.isSelected = false oldValue?.isSelected = false
selectedTabItem?.isSelected = true selectedTabItem?.isSelected = true
updateScrollView()
} }
} }
......
...@@ -472,7 +472,7 @@ extension TabsController { ...@@ -472,7 +472,7 @@ extension TabsController {
} }
self?.selectedIndex = index self?.selectedIndex = index
self?.tabBar.select(at: index) self?.tabBar.selectedTabItem = self?.tabBar.tabItems[index]
} }
return true return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment