mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 03:56:55 +01:00
Fix stretched timeline cells caused by scrolling on state restoration.
This commit is contained in:
parent
fee3583c83
commit
a65e28f408
@ -275,7 +275,9 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr
|
||||
|
||||
if let selectedIndex = articles.firstIndex(where: { $0.articleID == articleID }) {
|
||||
tableView.selectRow(selectedIndex)
|
||||
tableView.scrollTo(row: selectedIndex)
|
||||
DispatchQueue.main.async {
|
||||
self.tableView.scrollTo(row: selectedIndex)
|
||||
}
|
||||
focus()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user