Skip to content

Commit

Permalink
Fix wrong hairpin length if score ends with MM rest
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrio95 committed Apr 16, 2020
1 parent 265b5f9 commit ed03bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Segment* Score::tick2segment(const Fraction& t, bool first, SegmentType st, bool
if (useMMrest) {
m = tick2measureMM(tick);
// When mmRest force tick to the first segment of mmRest.
if (m && m->isMMRest())
if (m && m->isMMRest() && tick != m->endTick())
tick = m->tick();
}
else
Expand Down

0 comments on commit ed03bd6

Please sign in to comment.