Fix sticker date moving out of window
This commit is contained in:
parent
baa31b2982
commit
cec3ced431
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ int UnwrappedMedia::calculateFullRight(const QRect &inner) const {
|
||||||
+ (_parent->hasFromPhoto()
|
+ (_parent->hasFromPhoto()
|
||||||
? st::msgMargin.right()
|
? st::msgMargin.right()
|
||||||
: st::msgPadding.right()))
|
: st::msgPadding.right()))
|
||||||
: 0;
|
: st::msgMargin.left() + st::msgMargin.right();
|
||||||
auto fullRight = inner.x()
|
auto fullRight = inner.x()
|
||||||
+ inner.width()
|
+ inner.width()
|
||||||
+ (rightAligned ? 0 : infoWidth);
|
+ (rightAligned ? 0 : infoWidth);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue