Skip to content

Commit

Permalink
fix #67171: Cross-staff beams cannot be set to horizontal
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Jun 29, 2015
1 parent 64d3174 commit 4cf5366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/beam.cpp
Expand Up @@ -1603,7 +1603,7 @@ void Beam::layout2(QList<ChordRest*>crl, SpannerSegmentType, int frag)
else
yDownMax = qMax(y, yDownMax);
}
qreal slant = _spatium;
qreal slant = hasNoSlope() ? 0 : _spatium;
if (crl.front()->up())
slant = -slant;
py1 = yUpMin + (yDownMax - yUpMin) * .5 - slant * .5;
Expand Down

0 comments on commit 4cf5366

Please sign in to comment.