From 24196fbbfc65cbf99ae337f36fc359a4200e1db6 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Tue, 18 Jun 2024 08:35:05 +0200 Subject: [PATCH] Apply tuplet ratio including with single elements. Fixes #3639 --- src/layerelement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layerelement.cpp b/src/layerelement.cpp index 25dd5d9ad77..603220d73c6 100644 --- a/src/layerelement.cpp +++ b/src/layerelement.cpp @@ -688,7 +688,7 @@ double LayerElement::GetAlignmentDuration( ListOfConstObjects objects; ClassIdsComparison ids({ CHORD, NOTE, REST, SPACE }); tuplet->FindAllDescendantsByComparison(&objects, &ids); - if (objects.size() > 1) { + if (objects.size() > 0) { num = tuplet->GetNum(); numbase = tuplet->GetNumbase(); // 0 is not valid in MEI anyway - just correct it silently