mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +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;
|
||||
}
|
||||
}
|
||||
if (isUnwrapped()) {
|
||||
accumulate_min(usew, painth);
|
||||
}
|
||||
if (rtl()) usex = width() - usex - usew;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
if (isUnwrapped()) {
|
||||
accumulate_min(usew, painth);
|
||||
}
|
||||
if (rtl()) usex = width() - usex - usew;
|
||||
|
||||
if (via || reply || forwarded) {
|
||||
|
|
Loading…
Add table
Reference in a new issue