Fix reactions geometry for round videos.

This commit is contained in:
John Preston 2021-12-28 17:11:28 +03:00
parent 830a338082
commit 1d2065e4ef

View file

@ -1171,7 +1171,7 @@ bool Gif::needsBubble() const {
} }
QRect Gif::contentRectForReactionButton() const { QRect Gif::contentRectForReactionButton() const {
if (isSeparateRoundVideo()) { if (!isSeparateRoundVideo()) {
return QRect(0, 0, width(), height()); return QRect(0, 0, width(), height());
} }
auto paintx = 0, painty = 0, paintw = width(), painth = height(); auto paintx = 0, painty = 0, paintw = width(), painth = height();