diff --git a/Telegram/SourceFiles/lottie/lottie_frame_renderer.cpp b/Telegram/SourceFiles/lottie/lottie_frame_renderer.cpp index 567271e048..21c8bb2a0a 100644 --- a/Telegram/SourceFiles/lottie/lottie_frame_renderer.cpp +++ b/Telegram/SourceFiles/lottie/lottie_frame_renderer.cpp @@ -92,6 +92,8 @@ private: if (!GoodStorageForFrame(storage, request.resize)) { storage = CreateFrameStorage(request.resize); } + storage.fill(Qt::transparent); + { QPainter p(&storage); p.setRenderHint(QPainter::Antialiasing);