Fix label crossfade animation.

This commit is contained in:
John Preston 2019-10-11 19:59:39 +04:00
parent 54f84cdb8d
commit 4ef3d2ff9f

View file

@ -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;