mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdReportMonth: Added compact style exclusion render
This commit is contained in:
parent
9a94d0364f
commit
71a193a7db
1 changed files with 8 additions and 0 deletions
|
@ -243,6 +243,14 @@ static void renderExclusionBlocks (
|
|||
|
||||
for (auto& line : lines)
|
||||
line.add (block, offset, colorExc);
|
||||
|
||||
if (style == "compact")
|
||||
{
|
||||
auto label = format ("{1}", hour);
|
||||
if (start_block == 0 &&
|
||||
width >= static_cast <int> (label.length ()))
|
||||
lines[0].add (label, offset, colorExc);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue