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
1 changed files with 1 additions and 1 deletions

View File

@ -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();