Skip to content

Commit

Permalink
Fix problem with spaces within tuplets. Closes #3130
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Nov 23, 2022
1 parent d44d16e commit c9f4791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layerelement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ double LayerElement::GetAlignmentDuration(
const Tuplet *tuplet = vrv_cast<const Tuplet *>(this->GetFirstAncestor(TUPLET, MAX_TUPLET_DEPTH));
if (tuplet) {
ListOfConstObjects objects;
ClassIdsComparison ids({ CHORD, NOTE, REST });
ClassIdsComparison ids({ CHORD, NOTE, REST, SPACE });
tuplet->FindAllDescendantsByComparison(&objects, &ids);
if (objects.size() > 1) {
num = tuplet->GetNum();
Expand Down

0 comments on commit c9f4791

Please sign in to comment.