Permalink
Browse files

TW #2020: reserved.lines is not affecting the burndown height

- Thanks to ad₋si.
  • Loading branch information...
pbeckingham committed May 13, 2018
1 parent 9fefe4a commit 27055ea1b9116f1cefeb5d314119dc8b0aa0965f
Showing with 6 additions and 1 deletion.
  1. +1 −0 AUTHORS
  2. +2 −0 ChangeLog
  3. +3 −1 src/commands/CmdBurndown.cpp
@@ -328,3 +328,4 @@ suggestions:
php-coder
Martin F. Krafft
tom-doerr
ad-si
@@ -95,6 +95,8 @@
Thanks to Kirill Bobyrev
- TW #1922 Can't find export scripts
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'
Thanks to Lynoure Braakman
- 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
// maximum space, and the width drives various other parameters.
_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_width = _width - _max_label - 14;

0 comments on commit 27055ea

Please sign in to comment.