From 887b6629f66e3e15786938f3bf7593bca39eaa31 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 15 Aug 2020 00:02:26 +0400 Subject: [PATCH] Version 2.3: Fix emoji fingerprint on Retina. --- Telegram/SourceFiles/calls/calls_emoji_fingerprint.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/calls/calls_emoji_fingerprint.cpp b/Telegram/SourceFiles/calls/calls_emoji_fingerprint.cpp index 923a4b807..bd95df7a5 100644 --- a/Telegram/SourceFiles/calls/calls_emoji_fingerprint.cpp +++ b/Telegram/SourceFiles/calls/calls_emoji_fingerprint.cpp @@ -235,6 +235,7 @@ object_ptr CreateFingerprintAndSignalBars( const auto background = raw->lifetime().make_state( fullSize * cIntRetinaFactor(), QImage::Format_ARGB32_Premultiplied); + background->setDevicePixelRatio(cRetinaFactor()); rpl::merge( rpl::single(rpl::empty_value()), Ui::Emoji::Updated(),