Skip to content

Commit

Permalink
Don't insert time before Volta at start of measure
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-spa committed Aug 28, 2024
1 parent 3e4c62f commit 97d59cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engraving/dom/edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6743,7 +6743,9 @@ void Score::undoInsertTime(const Fraction& tick, const Fraction& len)
}
for (Spanner* s : sl) {
if (len > Fraction(0, 1)) {
if (tick > s->tick() && tick < s->tick2()) {
if (tick == s->tick() && s->isVolta()) {
s->undoChangeProperty(Pid::SPANNER_TICKS, s->ticks() + len);
} else if (tick > s->tick() && tick < s->tick2()) {
//
// case a:
// +----spanner--------+
Expand Down

0 comments on commit 97d59cb

Please sign in to comment.