mirror of https://github.com/procxx/kepka.git
Fix video grouped thumb on Retina displays.
This commit is contained in:
parent
1a115cc7e5
commit
f2d11e7432
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue