2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Improve premium / emoji status badge styles.

This commit is contained in:
John Preston
2022-08-11 20:56:07 +03:00
parent bd089f20a8
commit e22bb40dd1
3 changed files with 10 additions and 7 deletions

View File

@@ -156,7 +156,10 @@ ComposedBadge::ComposedBadge(
buttonSize.width() - st.padding.right() - finalTextRight,
buttonSize.height());
_badge.move(0, 0, buttonSize.height());
_badge.move(
0,
st.padding.top(),
buttonSize.height() - st.padding.top());
if (_unread) {
_unread->moveToRight(
0,