mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix GIFs preview.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user