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…
Reference in New Issue