mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-27 11:01:17 +00:00
Fixed frame size of video userpic in short info boxes on Retina.
This commit is contained in:
parent
d9572949f6
commit
7aef0b0a83
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user