Permalink
Browse files

fix vertical alignment of dynamics and other baseline aligned text on…

… staff > 1
  • Loading branch information...
1 parent f28260d commit 2277bc2058dbc7c894cbdd8760346d01c31c350d @lasconic lasconic committed Mar 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 libmscore/text.cpp
View
2 libmscore/text.cpp
@@ -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();

0 comments on commit 2277bc2

Please sign in to comment.