Fix sticker date moving out of window

This commit is contained in:
Eric Kotato 2021-03-29 15:48:10 +03:00
parent baa31b2982
commit cec3ced431

View file

@ -421,7 +421,7 @@ int UnwrappedMedia::calculateFullRight(const QRect &inner) const {
+ (_parent->hasFromPhoto()
? st::msgMargin.right()
: st::msgPadding.right()))
: 0;
: st::msgMargin.left() + st::msgMargin.right();
auto fullRight = inner.x()
+ inner.width()
+ (rightAligned ? 0 : infoWidth);