Breves are vertically misaligned and in different horiz. positions when 'up-stemmed' and 'down-stemmed' (assuming the had a stem).

Fixed by adding the Note::HEAD_BREVIS case when centring note heads.
This commit is contained in:
Maurizio M. Gavioli 2013-08-28 11:16:44 +02:00
parent e02be8bf88
commit d1cc2841a7

View file

@ -262,7 +262,8 @@ void Score::layoutChords1(QList<Note*>& notes, int voices, Staff* staff, Segment
x = stemX - hw + stemWidth5 * 2;
}
else {
if (chord->durationType().headType() == Note::HEAD_WHOLE) {
int ht = chord->durationType().headType();
if (ht == Note::HEAD_WHOLE || ht == Note::HEAD_BREVIS) {
// center whole note
qreal xd = (hw - noteHeadWidth() * chord->mag()) * .5;
if (_up)