Skip to content

Commit

Permalink
fix #272023: Downstem mirrored notes lose accidental
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmcclinch committed May 8, 2018
1 parent ef72a27 commit fe045e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libmscore/layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,11 @@ void Score::layoutChords3(std::vector<Note*>& notes, Staff* staff, Segment* segm
note->setDotY(dotPosition); // also removes invalid dots
}

// if there are no non-mirrored notes in a downstem chord,
// then use the stem X position as X origin for accidental layout
if (nNotes && leftNotes.size() == nNotes)
lx = notes.front()->chord()->stemPosX();

if (segment) {
// align all dots for segment/staff
// it would be possible to dots for up & down chords separately
Expand Down

0 comments on commit fe045e3

Please sign in to comment.