Skip to content

Commit

Permalink
don't autoplace notelines
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Dec 17, 2018
1 parent 1219d2d commit 772d299
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libmscore/spanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,9 @@ void SpannerSegment::autoplaceSpannerSegment(qreal minDistance)
if (isStyled(Pid::OFFSET))
setOffset(spanner()->propertyDefault(Pid::OFFSET).toPointF());

if (spanner()->anchor() == Spanner::Anchor::NOTE)
return;

if (visible() && autoplace()) {
SkylineLine sl(!spanner()->placeAbove());
sl.add(shape().translated(pos()));
Expand Down

0 comments on commit 772d299

Please sign in to comment.