parent
435d451f3f
commit
34f6c6b23f
|
@ -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…
Reference in New Issue