mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Fix video grouped thumb on Retina displays.
This commit is contained in:
parent
1a115cc7e5
commit
f2d11e7432
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue