Fix video playback settings button dpr.

This commit is contained in:
John Preston 2024-11-01 10:10:16 +04:00
parent ffa8c2be79
commit 535b223333

View file

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