Skip to content

Commit

Permalink
Use while loop for consecutive layer elements inside syllable
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Feb 14, 2024
1 parent ee2ff76 commit c446f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editortoolkit_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2910,7 +2910,7 @@ bool EditorToolkitNeume::Ungroup(std::string groupType, std::vector<std::string>
}
}
}
if (el->Is(ACCID) || el->Is(DIVLINE) || el->Is(CLEF)) {
while (el->Is(ACCID) || el->Is(DIVLINE) || el->Is(CLEF)) {
fparent = el->GetFirstAncestor(SYLLABLE);
sparent = el->GetFirstAncestor(LAYER);
if (fparent && sparent) {
Expand Down

0 comments on commit c446f37

Please sign in to comment.