Do make changebar shorter for last row

I do not know what the intent was, but it is ugly.
This commit is contained in:
Jean-Marc Lasgouttes 2020-01-13 17:42:31 +01:00
parent 93794d6fea
commit cbabff4686

View File

@ -293,11 +293,7 @@ void RowPainter::paintChange(Row::Element const & e) const
void RowPainter::paintChangeBar() const
{
int const height = tm_.isLastRow(row_)
? row_.ascent()
: row_.height();
pi_.pain.fillRectangle(5, yo_ - row_.ascent(), 3, height, Color_changebar);
pi_.pain.fillRectangle(5, yo_ - row_.ascent(), 3, row_.height(), Color_changebar);
}