Skip to content

Commit

Permalink
Only change grace note position in layoutGraceNotesGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
miiizen committed Jan 10, 2024
1 parent 0e1ab50 commit f62ee31
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 f62ee31

Please sign in to comment.