Skip to content

Commit

Permalink
use Sid::MinTieLength for extra distance between notes for ties
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Nov 29, 2018
1 parent 38974d9 commit 9e5dec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/note.cpp
Expand Up @@ -3261,7 +3261,7 @@ void Note::setAccidentalType(AccidentalType type)
Shape Note::shape() const
{
QRectF r(bbox());
qreal extraTieDistance = spatium() * .5; // make room for ties
qreal extraTieDistance = score()->styleP(Sid::MinTieLength) * .5; // make room for ties
if (_tieFor)
r.adjust(0.0, 0.0, extraTieDistance, 0.0);
if (_tieBack)
Expand Down

0 comments on commit 9e5dec9

Please sign in to comment.