Skip to content
Permalink
Browse files

fix bug: changing offset in inspector has no effect for dynamics

  • Loading branch information...
wschweer committed Sep 20, 2018
1 parent 9851aac commit c07ed54625ab690ccf62b6b1ab6dfd5c4805d33b
Showing with 3 additions and 1 deletion.
  1. +3 −1 libmscore/dynamic.cpp
@@ -167,7 +167,9 @@ void Dynamic::layout()
y = score()->styleP(Sid::dynamicsPosAbove);
else
y = score()->styleP(Sid::dynamicsPosBelow) + (staff() ? staff()->height() : 0.0);
setPos(QPointF(0.0, y));

QPointF o(offset() * (offsetType() == OffsetType::SPATIUM ? spatium() : DPI));
setPos(QPointF(0.0, y) + o);
TextBase::layout1();

Segment* s = segment();

0 comments on commit c07ed54

Please sign in to comment.
You can’t perform that action at this time.