Skip to content

Commit

Permalink
fix vertical alignment of dynamics and other baseline aligned text on…
Browse files Browse the repository at this point in the history
… staff > 1
  • Loading branch information
lasconic committed Mar 12, 2014
1 parent f28260d commit 2277bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ void Text::layout1()
else if (textStyle().align() & ALIGN_VCENTER)
yoff += (h - (bb.top() + bb.bottom())) * .5;
else if (textStyle().align() & ALIGN_BASELINE)
yoff = h * .5 - _layout.front().lineSpacing();
yoff += h * .5 - _layout.front().lineSpacing();
else
yoff += -bb.top();

Expand Down

0 comments on commit 2277bc2

Please sign in to comment.