Skip to content

Commit

Permalink
fix #273225 fix #273500: buzzroll not displayed in PDF export and not…
Browse files Browse the repository at this point in the history
… highlighted when selected
  • Loading branch information
lasconic committed Jun 20, 2018
1 parent 40fb7d1 commit 470439c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions libmscore/tremolo.cpp
Expand Up @@ -71,12 +71,15 @@ qreal Tremolo::mag() const

void Tremolo::draw(QPainter* painter) const
{
painter->setBrush(QBrush(curColor()));
painter->setPen(Qt::NoPen);
if (tremoloType() == TremoloType::BUZZ_ROLL)
if (tremoloType() == TremoloType::BUZZ_ROLL) {
painter->setPen(curColor());
drawSymbol(SymId::buzzRoll, painter);
else
}
else {
painter->setBrush(QBrush(curColor()));
painter->setPen(Qt::NoPen);
painter->drawPath(path);
}
if ((parent() == 0) && !twoNotes()) {
qreal x = 0.0; // bbox().width() * .25;
QPen pen(curColor(), point(score()->styleS(StyleIdx::stemWidth)));
Expand Down

0 comments on commit 470439c

Please sign in to comment.