mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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 commit7acfbe0fcc
) (cherry picked from commitc96d3a0340
)
This commit is contained in:
parent
e0cd7c0129
commit
13a6be1f9c
@ -313,8 +313,8 @@ void RowPainter::paintAppendix() const
|
||||
if (par_.params().startOfAppendix())
|
||||
y += 2 * defaultRowHeight();
|
||||
|
||||
pi_.pain.line(1, y, 1, yo_ + row_.height(), Color_appendix);
|
||||
pi_.pain.line(tm_.width() - 2, y, tm_.width() - 2, 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_.descent(), Color_appendix);
|
||||
}
|
||||
|
||||
|
||||
|
@ -43,6 +43,8 @@ What's new
|
||||
|
||||
- fix display of equation numbers in right-to-left context.
|
||||
|
||||
- fix overflow of appendix red frame in document-bottom grey area.
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user