Skip to content

Commit 8149ea5

Browse files
committed
fix beam width of grace notes
1 parent 6993069 commit 8149ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmscore/beam.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ void Beam::draw(QPainter* painter) const
205205
{
206206
painter->setBrush(QBrush(curColor()));
207207
painter->setPen(Qt::NoPen);
208-
qreal lw2 = score()->styleP(StyleIdx::beamWidth) * .5 * staff()->mag();
208+
qreal lw2 = score()->styleP(StyleIdx::beamWidth) * .5 * mag();
209209

210210
// make beam thickness independent of slant
211211
// (expression can be simplified?)

0 commit comments

Comments
 (0)