mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-04 11:16:59 +00:00
Fix stretched timeline cells caused by scrolling on state restoration.
This commit is contained in:
1 parent
fee3583c83
commit
a65e28f408
1 file changed
+3
-1
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user