mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix video playback settings button dpr.
This commit is contained in:
parent
ffa8c2be79
commit
535b223333
1 changed files with 1 additions and 0 deletions
|
@ -402,6 +402,7 @@ void SettingsButton::prepareFrame() {
|
||||||
_frameCache = QImage(
|
_frameCache = QImage(
|
||||||
_st.size * ratio,
|
_st.size * ratio,
|
||||||
QImage::Format_ARGB32_Premultiplied);
|
QImage::Format_ARGB32_Premultiplied);
|
||||||
|
_frameCache.setDevicePixelRatio(ratio);
|
||||||
}
|
}
|
||||||
_frameCache.fill(Qt::transparent);
|
_frameCache.fill(Qt::transparent);
|
||||||
auto p = QPainter(&_frameCache);
|
auto p = QPainter(&_frameCache);
|
||||||
|
|
Loading…
Add table
Reference in a new issue