Fix wall paper preview on Retina.

This commit is contained in:
John Preston 2019-02-01 15:32:32 +03:00
parent 74fc5524ab
commit 35e5c2329b
1 changed files with 2 additions and 2 deletions

View File

@ -214,8 +214,8 @@ void HistoryWallPaper::prepareThumbnailFrom(
} }
original = Images::prepare( original = Images::prepare(
std::move(original), std::move(original),
_pixw, _pixw * cIntRetinaFactor(),
(_pixw * th) / tw, ((_pixw * th) / tw) * cIntRetinaFactor(),
options, options,
_pixw, _pixw,
_pixh); _pixh);