From 7acfbe0fccc729dcf5d910a4049b25e9943329fc Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 6 Jun 2024 14:32:00 +0200 Subject: [PATCH] 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. --- src/RowPainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 77e0ff67e6..b8c0a67b5e 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -314,7 +314,7 @@ void RowPainter::paintAppendix() const 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(tm_.width() - 2, y, tm_.width() - 2, yo_ + row_.descent(), Color_appendix); }