mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +01:00
Fix it so that we aren't scrolling and selecting using the same animation.
This commit is contained in:
parent
38e0a86881
commit
415fb3ab56
@ -18,7 +18,7 @@ extension UITableView {
|
||||
|
||||
if let visibleIndexPaths = indexPathsForRows(in: safeAreaLayoutGuide.layoutFrame) {
|
||||
if !(visibleIndexPaths.contains(indexPath) && cellCompletelyVisable(indexPath)) {
|
||||
selectRow(at: indexPath, animated: animations.contains(.scroll), scrollPosition: .middle)
|
||||
scrollToRow(at: indexPath, at: .middle, animated: animations.contains(.scroll))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user