From 1d2065e4efa7b75d2a22baea74038462a4bf1c34 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 28 Dec 2021 17:11:28 +0300 Subject: [PATCH] Fix reactions geometry for round videos. --- Telegram/SourceFiles/history/view/media/history_view_gif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp index 64f46c419..c7c56c6c2 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp @@ -1171,7 +1171,7 @@ bool Gif::needsBubble() const { } QRect Gif::contentRectForReactionButton() const { - if (isSeparateRoundVideo()) { + if (!isSeparateRoundVideo()) { return QRect(0, 0, width(), height()); } auto paintx = 0, painty = 0, paintw = width(), painth = height();