mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fixed text state of reply bubble for messages with unwrapped media.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user