mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-09 00:28:53 +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 }) {
|
if let selectedIndex = articles.firstIndex(where: { $0.articleID == articleID }) {
|
||||||
tableView.selectRow(selectedIndex)
|
tableView.selectRow(selectedIndex)
|
||||||
tableView.scrollTo(row: selectedIndex)
|
DispatchQueue.main.async {
|
||||||
|
self.tableView.scrollTo(row: selectedIndex)
|
||||||
|
}
|
||||||
focus()
|
focus()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user