git.iko.soy/parseable-macos
on master help sign in
Preserve alternating row stripes under severity tints (#43)
ce7a5dciko
ParseableViewer/Views/LogTableView.swift+8−5
@@ -570,12 +570,15 @@ struct LogRowView: View {
570 .background {
570 .background {
571 if isSelected {
571 if isSelected {
572 Color.accentColor.opacity(0.2)
572 Color.accentColor.opacity(0.2)
573− } else if let tint = severityRowTint(for: extractSeverity(from: record)) {
574− tint
575− } else if isAlternate {
576− Color.primary.opacity(0.02)
577 } else {
573 } else {
578− Color.clear
574+ ZStack {
575+ if isAlternate {
576+ Color.primary.opacity(0.02)
577+ }
578+ if let tint = severityRowTint(for: extractSeverity(from: record)) {
579+ tint
580+ }
581+ }
579 }
582 }
580 }
583 }
581 }
584 }