Skip to content

Commit

Permalink
Merge pull request #20896 from miiizen/20808-grace-layout
Browse files Browse the repository at this point in the history
Fix grace note layout on notes with cross stave beams
  • Loading branch information
cbjeukendrup committed Jan 12, 2024
2 parents ff19fec + f62ee31 commit 319641c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engraving/rendering/dev/chordlayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,9 @@ double ChordLayout::layoutChords2(std::vector<Note*>& notes, bool up, LayoutCont
// be sure chord position is initialized
// chord may be moved to the right later
// if there are conflicts between voices
chord->mutldata()->setPosX(0.0);
if (!chord->isGrace()) {
chord->mutldata()->setPosX(0.0);
}

// let user mirror property override the default we calculated
if (note->userMirror() == DirectionH::AUTO) {
Expand Down
Binary file modified vtest/scores/grace-6.mscz
Binary file not shown.

0 comments on commit 319641c

Please sign in to comment.