Fix off-by-one on ungrouped day selections

This commit is contained in:
Ian Keane 2025-12-03 13:44:08 -05:00
parent 50ac26e398
commit b07cd0fc22

View file

@ -728,7 +728,7 @@ fn render_log_view(frame: &mut Frame, app: &App) {
let is_entry = if is_by_project {
line.starts_with(" ") // 8 spaces for ByProject
} else {
line.starts_with(" ") && !line.starts_with(" ") // 4 spaces for ByDate
line.starts_with(" ") && !line.starts_with(" ") && line.trim() != "---" // 4 spaces for ByDate
};
if is_entry {