mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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,
|
_background,
|
||||||
_gradientRotation,
|
_gradientRotation,
|
||||||
_patternOpacity);
|
_patternOpacity);
|
||||||
|
original.setDevicePixelRatio(cRetinaFactor());
|
||||||
}
|
}
|
||||||
_thumbnail = Ui::PixmapFromImage(std::move(original));
|
_thumbnail = Ui::PixmapFromImage(std::move(original));
|
||||||
_thumbnailGood = good;
|
_thumbnailGood = good;
|
||||||
|
|
Loading…
Add table
Reference in a new issue