Skip to content

Commit

Permalink
Correct measure rest placement with big timesig
Browse files Browse the repository at this point in the history
  • Loading branch information
miiizen committed Feb 19, 2025
1 parent 15e88d1 commit 74a06ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/engraving/rendering/score/measurelayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1252,8 +1252,9 @@ MeasureLayout::MeasureStartEndPos MeasureLayout::getMeasureStartEndPos(const Mea
break;
}

if (!modernMMRest && (s2->isClefRepeatAnnounceType() || s2->isTimeSigRepeatAnnounceType() || s2->isKeySigRepeatAnnounceType()
|| s2->isEndBarLineType()) && s2->element(staffIdx * VOICES)) {
if (!modernMMRest
&& (s2->isClefRepeatAnnounceType() || (s2->isTimeSigRepeatAnnounceType() && !s2->hasTimeSigAboveStaves())
|| s2->isKeySigRepeatAnnounceType() || s2->isEndBarLineType()) && s2->element(staffIdx * VOICES)) {
break;
}
}
Expand Down

0 comments on commit 74a06ef

Please sign in to comment.