From 7aef0b0a83c201401df3b587d3d53ddf1fde0c3e Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 1 Jun 2024 16:55:01 +0300 Subject: [PATCH] Fixed frame size of video userpic in short info boxes on Retina. --- Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp b/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp index 47afccd2ff..45d30a7ed6 100644 --- a/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp @@ -398,7 +398,7 @@ void PeerShortInfoCover::paintRadial(QPainter &p) { QImage PeerShortInfoCover::currentVideoFrame() const { const auto size = QSize(_st.size, _st.size); const auto request = Media::Streaming::FrameRequest{ - .resize = size * style::DevicePixelRatio(), + .resize = size, .outer = size, }; return (_videoInstance