From 449a5a31785e98d863b13bd16f69e8b52280f093 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Sun, 1 Oct 2023 18:58:47 +0200 Subject: [PATCH] Fix barline width in tablature repeat --- src/view_element.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view_element.cpp b/src/view_element.cpp index b579be46fea..9072bfbdadf 100644 --- a/src/view_element.cpp +++ b/src/view_element.cpp @@ -2022,7 +2022,7 @@ void View::DrawMRptPart(DeviceContext *dc, int xCentered, char32_t rptGlyph, int if (line) { const int yBottom = y - (staff->m_drawingLines - 1) * m_doc->GetDrawingDoubleUnit(staffSize); const int offset = (y == ySymbol) ? m_doc->GetDrawingDoubleUnit(staffSize) : 0; - this->DrawVerticalLine(dc, y + offset, yBottom - offset, xCentered, m_doc->GetDrawingBarLineWidth(staffSize)); + this->DrawVerticalLine(dc, y + offset, yBottom - offset, xCentered, m_doc->GetDrawingBarLineWidth(staffNotationSize)); } if (num > 0) {