2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Fixed files overview thumbnails in retina. Fixed profile member list styles.

All round buttons over animations removed. Checkbox round radius smaller.
This commit is contained in:
John Preston
2016-06-10 09:54:56 +03:00
parent 3bb53b6ed1
commit bf247455ee
8 changed files with 10 additions and 9 deletions

View File

@@ -707,7 +707,7 @@ void Document::paint(Painter &p, const QRect &clip, TextSelection selection, con
_thumbForLoaded = loaded;
ImagePixOptions options = ImagePixSmooth;
if (!_thumbForLoaded) options |= ImagePixBlurred;
_thumb = _data->thumb->pixNoCache(_thumbw, 0, options, st::overviewFileSize, st::overviewFileSize);
_thumb = _data->thumb->pixNoCache(_thumbw * cIntRetinaFactor(), 0, options, st::overviewFileSize, st::overviewFileSize);
}
p.drawPixmap(rthumb.topLeft(), _thumb);
} else {