Skip to content

Commit

Permalink
fix #171036: don't scale system elements with staff size
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Feb 19, 2019
1 parent ca4ddb1 commit aa0c232
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions libmscore/element.cpp
Expand Up @@ -127,8 +127,13 @@ void Element::localSpatiumChanged(qreal oldValue, qreal newValue)

qreal Element::spatium() const
{
Staff* s = staff();
return s ? s->spatium(tick()) : score()->spatium();
if (systemFlag()) {
return score()->spatium();
}
else {
Staff* s = staff();
return s ? s->spatium(tick()) : score()->spatium();
}
}

//---------------------------------------------------------
Expand Down

0 comments on commit aa0c232

Please sign in to comment.