mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 23:25:15 +00:00
Fix video grouped thumb on Retina displays.
This commit is contained in:
@@ -1264,8 +1264,8 @@ void HistoryVideo::validateGroupedCache(
|
|||||||
const auto pixSize = Ui::GetImageScaleSizeForGeometry(
|
const auto pixSize = Ui::GetImageScaleSizeForGeometry(
|
||||||
{ originalWidth, originalHeight },
|
{ originalWidth, originalHeight },
|
||||||
{ width, height });
|
{ width, height });
|
||||||
const auto pixWidth = pixSize.width();
|
const auto pixWidth = pixSize.width() * cIntRetinaFactor();
|
||||||
const auto pixHeight = pixSize.height();
|
const auto pixHeight = pixSize.height() * cIntRetinaFactor();
|
||||||
const auto &image = _data->thumb;
|
const auto &image = _data->thumb;
|
||||||
|
|
||||||
*cacheKey = key;
|
*cacheKey = key;
|
||||||
|
Reference in New Issue
Block a user