Skip to content

Commit

Permalink
fix #279292: honor slurMinDistance
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Dec 3, 2018
1 parent 116866d commit 7cc0cce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libmscore/slur.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,12 @@ void SlurSegment::layoutSegment(const QPointF& p1, const QPointF& p2)
}
}
if (intersection && gdist > 0.0) {
qreal min = score()->styleP(Sid::SlurMinDistance);
if (up) {
ryoffset() -= (gdist + spatium() * .5);
ryoffset() -= (gdist + min);
}
else
ryoffset() += (gdist + spatium() * .5);
ryoffset() += (gdist + min);
}
}
setbbox(path.boundingRect());
Expand Down

0 comments on commit 7cc0cce

Please sign in to comment.