Skip to content

Commit

Permalink
Merge pull request #23650 from XiaoMigros/harp-mmr
Browse files Browse the repository at this point in the history
Fix #23645 Don't break MMRs for harp or fret diagrams at start
  • Loading branch information
mike-spa committed Jul 18, 2024
2 parents 8e3b4f2 + c4afc30 commit ef55c94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/engraving/rendering/dev/measurelayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ static const std::unordered_set<ElementType> BREAK_TYPES {
ElementType::CAPO,
ElementType::INSTRUMENT_CHANGE,
ElementType::STRING_TUNINGS,
ElementType::SYMBOL
ElementType::SYMBOL,
ElementType::FRET_DIAGRAM,
ElementType::HARP_DIAGRAM,
};

static const std::unordered_set<ElementType> ALWAYS_BREAK_TYPES {
Expand All @@ -164,7 +166,9 @@ static const std::unordered_set<ElementType> CONDITIONAL_BREAK_TYPES {
ElementType::CAPO,
ElementType::INSTRUMENT_CHANGE,
ElementType::STRING_TUNINGS,
ElementType::SYMBOL
ElementType::SYMBOL,
ElementType::FRET_DIAGRAM,
ElementType::HARP_DIAGRAM,
};

//---------------------------------------------------------
Expand Down
Binary file added vtest/scores/mmrest-18.mscz
Binary file not shown.

0 comments on commit ef55c94

Please sign in to comment.