Skip to content

Commit

Permalink
Merge pull request #3922 from DDMAL/clef-change
Browse files Browse the repository at this point in the history
fix: update pitch shift on clef change for default C4 change
  • Loading branch information
lpugin authored Jan 29, 2025
2 parents 5392150 + 5e231cd commit 9586471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/editortoolkit_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1961,11 +1961,11 @@ bool EditorToolkitNeume::SetClef(std::string elementId, std::string shape)

if (shape == "C") {
clefShape = CLEFSHAPE_C;
shift = -3;
shift = 4;
}
else if (shape == "F") {
clefShape = CLEFSHAPE_F;
shift = 3;
shift = -4;
}

if (clef->GetShape() != clefShape) {
Expand Down

0 comments on commit 9586471

Please sign in to comment.