From 05bd99314b6f29184391f94078cb6e1f9ed63250 Mon Sep 17 00:00:00 2001 From: Klaus Rettinghaus Date: Wed, 8 Nov 2023 12:32:47 +0100 Subject: [PATCH] shorten trill extender --- src/view_control.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/view_control.cpp b/src/view_control.cpp index e491dda4abb..9a0065f0ce9 100644 --- a/src/view_control.cpp +++ b/src/view_control.cpp @@ -1063,7 +1063,10 @@ void View::DrawTrillExtension( } // Adjust the x2 for endid - if (!trill->GetEnd()->Is(TIMESTAMP_ATTR)) x2 -= trill->GetEnd()->GetDrawingRadius(m_doc); + if (!trill->GetEnd()->Is(TIMESTAMP_ATTR)) { + x2 -= trill->GetEnd()->GetDrawingRadius(m_doc); + } + x2 -= m_doc->GetDrawingDoubleUnit(staff->m_drawingStaffSize); int length = x2 - x1; Point orig(x1, y);