Skip to content

Commit

Permalink
Fix #311084 - Wrong curly bracket scaling when using MuseJazz
Browse files Browse the repository at this point in the history
Restore scaling caused by the parameters "Staff space". This was inadvertently removed by solving scaling due to  scaled staves (PR musescore#6496).
  • Loading branch information
njvdberg committed Sep 29, 2020
1 parent 48163e9 commit 855cc48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libmscore/bracket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ void Bracket::draw(QPainter* painter) const
}
else {
qreal h = 2 * h2;
qreal mag = h / 100;
qreal mag = h / (100 * magS());
painter->setPen(curColor());
painter->save();
painter->scale(_magx, mag);
drawSymbol(_braceSymbol, painter, QPointF(0, 100));
drawSymbol(_braceSymbol, painter, QPointF(0, 100 * magS()));
painter->restore();
}
}
Expand Down

0 comments on commit 855cc48

Please sign in to comment.