mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix pattern wallpaper preview on retina screens.
This commit is contained in:
parent
3dadcd9352
commit
b239506150
1 changed files with 1 additions and 0 deletions
|
@ -320,6 +320,7 @@ void ThemeDocument::prepareThumbnailFrom(
|
|||
_background,
|
||||
_gradientRotation,
|
||||
_patternOpacity);
|
||||
original.setDevicePixelRatio(cRetinaFactor());
|
||||
}
|
||||
_thumbnail = Ui::PixmapFromImage(std::move(original));
|
||||
_thumbnailGood = good;
|
||||
|
|
Loading…
Add table
Reference in a new issue