Fix pattern wallpaper preview on retina screens.

This commit is contained in:
John Preston 2021-08-13 23:30:40 +03:00
parent 3dadcd9352
commit b239506150
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ void ThemeDocument::prepareThumbnailFrom(
_background,
_gradientRotation,
_patternOpacity);
original.setDevicePixelRatio(cRetinaFactor());
}
_thumbnail = Ui::PixmapFromImage(std::move(original));
_thumbnailGood = good;