mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +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(
|
||||
_st.size * ratio,
|
||||
QImage::Format_ARGB32_Premultiplied);
|
||||
_frameCache.setDevicePixelRatio(ratio);
|
||||
}
|
||||
_frameCache.fill(Qt::transparent);
|
||||
auto p = QPainter(&_frameCache);
|
||||
|
|
Loading…
Add table
Reference in a new issue