Fixed frame size of video userpic in short info boxes on Retina.

This commit is contained in:
23rd 2024-06-01 16:55:01 +03:00
parent d9572949f6
commit 7aef0b0a83
1 changed files with 1 additions and 1 deletions

View File

@ -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