From 1a8cc87e60da10bad448c64a0e2c566eaea260d8 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 19 Jan 2022 15:40:04 +0300 Subject: [PATCH] Fix reaction images on Retina screen. --- Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp index 65ebbc14e..bc2a029ff 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_reactions.cpp @@ -82,7 +82,7 @@ void AddReactionIcon( crl::async([icon = std::move(state->icon)]{}); } if (!state->image.isNull()) { - p.drawImage(0, 0, state->image); + p.drawImage(QRect(0, 0, size, size), state->image); } }, icon->lifetime()); }