mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix pattern wallpaper preview on retina screens.
This commit is contained in:
@@ -320,6 +320,7 @@ void ThemeDocument::prepareThumbnailFrom(
|
||||
_background,
|
||||
_gradientRotation,
|
||||
_patternOpacity);
|
||||
original.setDevicePixelRatio(cRetinaFactor());
|
||||
}
|
||||
_thumbnail = Ui::PixmapFromImage(std::move(original));
|
||||
_thumbnailGood = good;
|
||||
|
||||
Reference in New Issue
Block a user