Fix video grouped thumb on Retina displays.

This commit is contained in:
John Preston 2017-12-27 22:16:26 +03:00
parent 1a115cc7e5
commit f2d11e7432
1 changed files with 2 additions and 2 deletions

View File

@ -1264,8 +1264,8 @@ void HistoryVideo::validateGroupedCache(
const auto pixSize = Ui::GetImageScaleSizeForGeometry(
{ originalWidth, originalHeight },
{ width, height });
const auto pixWidth = pixSize.width();
const auto pixHeight = pixSize.height();
const auto pixWidth = pixSize.width() * cIntRetinaFactor();
const auto pixHeight = pixSize.height() * cIntRetinaFactor();
const auto &image = _data->thumb;
*cacheKey = key;