From 236513943c1a088956a00b34e5daf3caa6479cdc Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 14 May 2019 11:19:08 +0300 Subject: [PATCH] Fix animated sticker selection. --- Telegram/SourceFiles/lottie/lottie_frame_renderer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);