Skip to content

Commit

Permalink
Remove automatic staff changing for custos and accid
Browse files Browse the repository at this point in the history
Neon issue DDMAL/Neon#1208
  • Loading branch information
yinanazhou committed May 14, 2024
1 parent e0816e0 commit 0c7623e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/editortoolkit_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ bool EditorToolkitNeume::Drag(std::string elementId, int x, int y)
zone->ShiftByXY(x, -y);

AdjustPitchFromPosition(element);
ChangeStaff(elementId);
}
else if (element->HasInterface(INTERFACE_PITCH) || element->Is(NEUME) || element->Is(SYLLABLE)) {
Layer *layer = dynamic_cast<Layer *>(element->GetFirstAncestor(LAYER));
Expand Down Expand Up @@ -714,7 +713,6 @@ bool EditorToolkitNeume::Drag(std::string elementId, int x, int y)
assert(zone);
zone->ShiftByXY(x, -y);
}
ChangeStaff(elementId);
}
else if (element->Is(DIVLINE)) {
DivLine *divLine = dynamic_cast<DivLine *>(element);
Expand Down

0 comments on commit 0c7623e

Please sign in to comment.