diff --git a/Evergreen/MainWindow/Timeline/TimelineTableRowView.swift b/Evergreen/MainWindow/Timeline/TimelineTableRowView.swift index 996b79958..03ed5b125 100644 --- a/Evergreen/MainWindow/Timeline/TimelineTableRowView.swift +++ b/Evergreen/MainWindow/Timeline/TimelineTableRowView.swift @@ -64,17 +64,17 @@ class TimelineTableRowView : NSTableRowView { path.stroke() } -// override func draw(_ dirtyRect: NSRect) { -// -// super.draw(dirtyRect) -// -// if cellAppearance.drawsGrid && !isSelected && !isNextRowSelected { -// drawSeparator(in: dirtyRect) -// } -// } + override func draw(_ dirtyRect: NSRect) { + + super.draw(dirtyRect) + + if cellAppearance.drawsGrid && !isSelected && !isNextRowSelected { + drawSeparator(in: dirtyRect) + } + } func invalidateGridRect() { -// setNeedsDisplay(gridRect) + setNeedsDisplay(gridRect) } } diff --git a/Evergreen/MainWindow/Timeline/TimelineViewController.swift b/Evergreen/MainWindow/Timeline/TimelineViewController.swift index aa29932d5..687aad8ec 100644 --- a/Evergreen/MainWindow/Timeline/TimelineViewController.swift +++ b/Evergreen/MainWindow/Timeline/TimelineViewController.swift @@ -515,7 +515,7 @@ extension TimelineViewController: NSTableViewDelegate { func tableViewSelectionDidChange(_ notification: Notification) { - // tableView.redrawGrid() + tableView.redrawGrid() if selectedArticles.isEmpty { postTimelineSelectionDidChangeNotification(nil)