mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Do make changebar shorter for last row
I do not know what the intent was, but it is ugly.
This commit is contained in:
parent
93794d6fea
commit
cbabff4686
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user