mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +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) {
|
if (recth) {
|
||||||
int rectx = _additionalOnTop
|
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()));
|
: (rightAligned ? 0 : (inner.width() + st::msgReplyPadding.left()));
|
||||||
int recty = surrounding.height - recth;
|
int recty = surrounding.height - recth;
|
||||||
if (rtl()) rectx = width() - rectx - rectw;
|
if (rtl()) rectx = width() - rectx - rectw;
|
||||||
|
Reference in New Issue
Block a user