diff --git a/libmscore/beam.cpp b/libmscore/beam.cpp index d57d35b63105b..c83622f1547ec 100644 --- a/libmscore/beam.cpp +++ b/libmscore/beam.cpp @@ -2005,7 +2005,7 @@ void Beam::layout2(std::vectorcrl, SpannerSegmentType, int frag) void Beam::spatiumChanged(qreal oldValue, qreal newValue) { - int idx = (_direction == Direction::AUTO || _direction == Direction::DOWN) ? 0 : 1; + int idx = (!_up) ? 0 : 1; if (_userModified[idx]) { qreal diff = newValue / oldValue; for (BeamFragment* f : fragments) {