mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-20 22:34:10 +01:00
Reenable the code that draws the grid in the timeline.
This commit is contained in:
parent
7ed83994d0
commit
6e875888c4
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -515,7 +515,7 @@ extension TimelineViewController: NSTableViewDelegate {
|
||||
|
||||
func tableViewSelectionDidChange(_ notification: Notification) {
|
||||
|
||||
// tableView.redrawGrid()
|
||||
tableView.redrawGrid()
|
||||
|
||||
if selectedArticles.isEmpty {
|
||||
postTimelineSelectionDidChangeNotification(nil)
|
||||
|
Loading…
Reference in New Issue
Block a user