2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix last-seen-when button position.

This commit is contained in:
John Preston
2025-07-29 12:30:07 +04:00
parent 953487bb65
commit 3c89907403

View File

@@ -1085,7 +1085,7 @@ void Cover::refreshStatusGeometry(int newWidth) {
auto statusWidth = newWidth - statusLeft - _st.rightSkip;
_status->resizeToNaturalWidth(statusWidth);
_status->moveToLeft(statusLeft, _st.statusTop, newWidth);
const auto left = _st.statusLeft + _status->textMaxWidth();
const auto left = statusLeft + _status->textMaxWidth();
_showLastSeen->moveToLeft(
left + _st.showLastSeenPosition.x(),
_st.showLastSeenPosition.y(),