mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-21 07:13:44 +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()
|
path.stroke()
|
||||||
}
|
}
|
||||||
|
|
||||||
// override func draw(_ dirtyRect: NSRect) {
|
override func draw(_ dirtyRect: NSRect) {
|
||||||
//
|
|
||||||
// super.draw(dirtyRect)
|
super.draw(dirtyRect)
|
||||||
//
|
|
||||||
// if cellAppearance.drawsGrid && !isSelected && !isNextRowSelected {
|
if cellAppearance.drawsGrid && !isSelected && !isNextRowSelected {
|
||||||
// drawSeparator(in: dirtyRect)
|
drawSeparator(in: dirtyRect)
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
func invalidateGridRect() {
|
func invalidateGridRect() {
|
||||||
|
|
||||||
// setNeedsDisplay(gridRect)
|
setNeedsDisplay(gridRect)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -515,7 +515,7 @@ extension TimelineViewController: NSTableViewDelegate {
|
|||||||
|
|
||||||
func tableViewSelectionDidChange(_ notification: Notification) {
|
func tableViewSelectionDidChange(_ notification: Notification) {
|
||||||
|
|
||||||
// tableView.redrawGrid()
|
tableView.redrawGrid()
|
||||||
|
|
||||||
if selectedArticles.isEmpty {
|
if selectedArticles.isEmpty {
|
||||||
postTimelineSelectionDidChangeNotification(nil)
|
postTimelineSelectionDidChangeNotification(nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user