mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-05 19:57:31 +00:00
Merge branch 'Ranchero-Software:main' into tiqoe
This commit is contained in:
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