Do not draw appendix lines below en of document

This bug is pretty old, but it was not visible because the grey area
below the document would overwrite it.

It would be better to close the frame at the end of the document, but
this is for later.

(cherry picked from commit 7acfbe0fcc)
(cherry picked from commit c96d3a0340)
This commit is contained in:
Jean-Marc Lasgouttes 2024-06-06 14:32:00 +02:00
parent e0cd7c0129
commit 13a6be1f9c
2 changed files with 4 additions and 2 deletions

View File

@ -313,8 +313,8 @@ void RowPainter::paintAppendix() const
if (par_.params().startOfAppendix()) if (par_.params().startOfAppendix())
y += 2 * defaultRowHeight(); y += 2 * defaultRowHeight();
pi_.pain.line(1, y, 1, yo_ + row_.height(), Color_appendix); pi_.pain.line(1, y, 1, yo_ + row_.descent(), Color_appendix);
pi_.pain.line(tm_.width() - 2, y, tm_.width() - 2, yo_ + row_.height(), Color_appendix); pi_.pain.line(tm_.width() - 2, y, tm_.width() - 2, yo_ + row_.descent(), Color_appendix);
} }

View File

@ -43,6 +43,8 @@ What's new
- fix display of equation numbers in right-to-left context. - fix display of equation numbers in right-to-left context.
- fix overflow of appendix red frame in document-bottom grey area.
* INTERNALS * INTERNALS