mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Fix GIFs preview.
This commit is contained in:
parent
8486ad368e
commit
4e595d5cef
2 changed files with 2 additions and 2 deletions
|
@ -1161,7 +1161,7 @@ void MediaPreviewWidget::clipCallback(Media::Clip::Notification notification) {
|
|||
|
||||
case NotificationRepaint: {
|
||||
if (_gif && !_gif->currentDisplayed()) {
|
||||
updateArea();
|
||||
update(updateArea());
|
||||
}
|
||||
} break;
|
||||
}
|
||||
|
|
|
@ -226,7 +226,7 @@ private:
|
|||
void startShow();
|
||||
void fillEmojiString();
|
||||
void resetGifAndCache();
|
||||
QRect updateArea() const;
|
||||
[[nodiscard]] QRect updateArea() const;
|
||||
|
||||
not_null<Window::SessionController*> _controller;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue