mirror of https://github.com/procxx/kepka.git
Fix GIFs preview.
This commit is contained in:
parent
8486ad368e
commit
4e595d5cef
|
@ -1161,7 +1161,7 @@ void MediaPreviewWidget::clipCallback(Media::Clip::Notification notification) {
|
||||||
|
|
||||||
case NotificationRepaint: {
|
case NotificationRepaint: {
|
||||||
if (_gif && !_gif->currentDisplayed()) {
|
if (_gif && !_gif->currentDisplayed()) {
|
||||||
updateArea();
|
update(updateArea());
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -226,7 +226,7 @@ private:
|
||||||
void startShow();
|
void startShow();
|
||||||
void fillEmojiString();
|
void fillEmojiString();
|
||||||
void resetGifAndCache();
|
void resetGifAndCache();
|
||||||
QRect updateArea() const;
|
[[nodiscard]] QRect updateArea() const;
|
||||||
|
|
||||||
not_null<Window::SessionController*> _controller;
|
not_null<Window::SessionController*> _controller;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue