mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TW #2020: reserved.lines is not affecting the burndown height
- Thanks to ad₋si.
This commit is contained in:
parent
a3dcabb2b3
commit
829caa4b85
3 changed files with 6 additions and 1 deletions
1
AUTHORS
1
AUTHORS
|
@ -328,3 +328,4 @@ suggestions:
|
||||||
php-coder
|
php-coder
|
||||||
Martin F. Krafft
|
Martin F. Krafft
|
||||||
tom-doerr
|
tom-doerr
|
||||||
|
ad-si
|
||||||
|
|
|
@ -95,6 +95,8 @@
|
||||||
Thanks to Kirill Bobyrev
|
Thanks to Kirill Bobyrev
|
||||||
- TW #1922 Can't find export scripts
|
- TW #1922 Can't find export scripts
|
||||||
Thanks to tom-doerr
|
Thanks to tom-doerr
|
||||||
|
- TW #2020 reserved.lines is not affecting the burndown height
|
||||||
|
Thanks to ad₋si
|
||||||
- Added 'juhannus' as a synonym for 'midsommarafton'
|
- Added 'juhannus' as a synonym for 'midsommarafton'
|
||||||
Thanks to Lynoure Braakman
|
Thanks to Lynoure Braakman
|
||||||
- Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'
|
- Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'
|
||||||
|
|
|
@ -171,7 +171,9 @@ Chart::Chart (char type)
|
||||||
// How much space is there to render in? This chart will occupy the
|
// How much space is there to render in? This chart will occupy the
|
||||||
// maximum space, and the width drives various other parameters.
|
// maximum space, and the width drives various other parameters.
|
||||||
_width = Context::getContext ().getWidth ();
|
_width = Context::getContext ().getWidth ();
|
||||||
_height = Context::getContext ().getHeight () - 1; // Allow for new line with prompt.
|
_height = Context::getContext ().getHeight ()
|
||||||
|
- Context::getContext ().config.getInteger ("reserved.lines")
|
||||||
|
- 1; // Allow for new line with prompt.
|
||||||
_graph_height = _height - 7;
|
_graph_height = _height - 7;
|
||||||
_graph_width = _width - _max_label - 14;
|
_graph_width = _width - _max_label - 14;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue