mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
435d451f3f
commit
34f6c6b23f
1 changed files with 6 additions and 0 deletions
|
@ -358,6 +358,9 @@ void Gif::draw(Painter &p, const PaintContext &context) const {
|
||||||
usex = width() - usew;
|
usex = width() - usew;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (isUnwrapped()) {
|
||||||
|
accumulate_min(usew, painth);
|
||||||
|
}
|
||||||
if (rtl()) usex = width() - usex - usew;
|
if (rtl()) usex = width() - usex - usew;
|
||||||
|
|
||||||
QRect rthumb(style::rtlrect(usex + paintx, painty, usew, painth, width()));
|
QRect rthumb(style::rtlrect(usex + paintx, painty, usew, painth, width()));
|
||||||
|
@ -844,6 +847,9 @@ TextState Gif::textState(QPoint point, StateRequest request) const {
|
||||||
usex = width() - usew;
|
usex = width() - usew;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (isUnwrapped()) {
|
||||||
|
accumulate_min(usew, painth);
|
||||||
|
}
|
||||||
if (rtl()) usex = width() - usex - usew;
|
if (rtl()) usex = width() - usex - usew;
|
||||||
|
|
||||||
if (via || reply || forwarded) {
|
if (via || reply || forwarded) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue