Skip to content

Commit

Permalink
fix clef left margin when there is no systemic barline
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Oct 9, 2017
1 parent 6fbf727 commit 302eb0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/measure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3881,7 +3881,7 @@ void Measure::computeMinWidth()
if (s->isChordRestType()) {
x += score()->styleP(hasAccidental(s) ? StyleIdx::barAccidentalDistance : StyleIdx::barNoteDistance);
}
else if (s->isClefType())
else if (s->isClefType() || s->isHeaderClefType())
x += score()->styleP(StyleIdx::clefLeftMargin);
else if (s->isKeySigType())
x = qMax(x, score()->styleP(StyleIdx::keysigLeftMargin));
Expand Down

0 comments on commit 302eb0f

Please sign in to comment.