Skip to content

Commit e47d9de

Browse files
committed
change default position of number above multimeasure rests
1 parent b980247 commit e47d9de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmscore/rest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void Rest::draw(QPainter* painter) const
9797
QFont font(fontId2font(0));
9898
painter->setFont(font);
9999
QFontMetricsF fm(font);
100-
y = -_spatium * .5 - fm.ascent();
100+
y = -_spatium * .5 - (staff()->height()*.5) - fm.ascent();
101101
painter->drawText(QRectF(center(x1, x2), y, .0, .0),
102102
Qt::AlignHCenter|Qt::TextDontClip,
103103
QString("%1").arg(n));

0 commit comments

Comments
 (0)