mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fixed text state of reply bubble for messages with unwrapped media.
This commit is contained in:
parent
3e7d4af4a0
commit
2afb69e787
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ TextState UnwrappedMedia::textState(QPoint point, StateRequest request) const {
|
|||
}
|
||||
if (recth) {
|
||||
int rectx = _additionalOnTop
|
||||
? (rightAligned ? (inner.width() + st::msgReplyPadding.left() - rectw) : 0)
|
||||
? (rightAligned ? (inner.x() + inner.width() - rectw) : 0)
|
||||
: (rightAligned ? 0 : (inner.width() + st::msgReplyPadding.left()));
|
||||
int recty = surrounding.height - recth;
|
||||
if (rtl()) rectx = width() - rectx - rectw;
|
||||
|
|
Loading…
Add table
Reference in a new issue