mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Fixed frame size of video userpic in short info boxes on Retina.
This commit is contained in:
@@ -398,7 +398,7 @@ void PeerShortInfoCover::paintRadial(QPainter &p) {
|
|||||||
QImage PeerShortInfoCover::currentVideoFrame() const {
|
QImage PeerShortInfoCover::currentVideoFrame() const {
|
||||||
const auto size = QSize(_st.size, _st.size);
|
const auto size = QSize(_st.size, _st.size);
|
||||||
const auto request = Media::Streaming::FrameRequest{
|
const auto request = Media::Streaming::FrameRequest{
|
||||||
.resize = size * style::DevicePixelRatio(),
|
.resize = size,
|
||||||
.outer = size,
|
.outer = size,
|
||||||
};
|
};
|
||||||
return (_videoInstance
|
return (_videoInstance
|
||||||
|
Reference in New Issue
Block a user