Fix label crossfade animation.
This commit is contained in:
parent
54f84cdb8d
commit
4ef3d2ff9f
1 changed files with 1 additions and 1 deletions
|
|
@ -740,7 +740,7 @@ CrossFadeAnimation::Data FlatLabel::crossFadeData(
|
|||
result.lineAddTop = addedHeight / 2;
|
||||
result.lineHeight += addedHeight;
|
||||
}
|
||||
result.position = pos();
|
||||
result.position = basePosition + pos();
|
||||
result.align = _st.align;
|
||||
result.font = _st.style.font;
|
||||
result.margin = _st.margin;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue