CmdReportMonth: Added compact style exclusion render

This commit is contained in:
Paul Beckingham 2016-05-19 11:12:31 -05:00
parent 9a94d0364f
commit 71a193a7db

View file

@ -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);
}
}
}
}