Skip to content

Commit

Permalink
fix: update pitch shift on clef change for default C4 change
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Jan 28, 2025
1 parent 5392150 commit 5e231cd
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 5e231cd

Please sign in to comment.