mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 16:54:12 +00:00
Fix bug where marking selected row as read would draw the unread indicator in blue (which made it blue on blue) instead of white.
This commit is contained in:
1 parent
b5f17b40a5
commit
43964754dc
1 file changed
+9
@@ -47,6 +47,15 @@ final class TimelineTableRowView: NSTableRowView {
|
||||
super.init(coder: coder)
|
||||
}
|
||||
|
||||
/// The table may set selection and emphasis before adding the cell view.
|
||||
override func didAddSubview(_ subview: NSView) {
|
||||
super.didAddSubview(subview)
|
||||
if let cellView = subview as? TimelineTableCellView {
|
||||
cellView.isEmphasized = isEmphasized
|
||||
cellView.isSelected = isSelected
|
||||
}
|
||||
}
|
||||
|
||||
private var cellView: TimelineTableCellView? {
|
||||
for oneSubview in subviews {
|
||||
if let foundView = oneSubview as? TimelineTableCellView {
|
||||
|
||||
Reference in new issue
Block a user