mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 00:15:42 +00:00
Fix last-seen-when button position.
This commit is contained in:
@@ -1085,7 +1085,7 @@ void Cover::refreshStatusGeometry(int newWidth) {
|
|||||||
auto statusWidth = newWidth - statusLeft - _st.rightSkip;
|
auto statusWidth = newWidth - statusLeft - _st.rightSkip;
|
||||||
_status->resizeToNaturalWidth(statusWidth);
|
_status->resizeToNaturalWidth(statusWidth);
|
||||||
_status->moveToLeft(statusLeft, _st.statusTop, newWidth);
|
_status->moveToLeft(statusLeft, _st.statusTop, newWidth);
|
||||||
const auto left = _st.statusLeft + _status->textMaxWidth();
|
const auto left = statusLeft + _status->textMaxWidth();
|
||||||
_showLastSeen->moveToLeft(
|
_showLastSeen->moveToLeft(
|
||||||
left + _st.showLastSeenPosition.x(),
|
left + _st.showLastSeenPosition.x(),
|
||||||
_st.showLastSeenPosition.y(),
|
_st.showLastSeenPosition.y(),
|
||||||
|
Reference in New Issue
Block a user