mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Fixed visual problem where two consecutive months are rendered on the x-axis as "OctNov". Now it renders as "Oc Nov", truncating the earlier label.
This commit is contained in:
parent
96851c1d34
commit
6a7e741b02
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ std::string Chart::render ()
|
|||
grid.replace (LOC (height - 5, max_label + 3 + ((actual_bars - bar.offset - 1) * 3)), bar.minor_label.length (), bar.minor_label);
|
||||
|
||||
if (major_label != bar.major_label)
|
||||
grid.replace (LOC (height - 4, max_label + 3 + ((actual_bars - bar.offset - 1) * 3)), bar.major_label.length (), bar.major_label);
|
||||
grid.replace (LOC (height - 4, max_label + 2 + ((actual_bars - bar.offset - 1) * 3)), bar.major_label.length (), " " + bar.major_label);
|
||||
|
||||
major_label = bar.major_label;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue