mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Allow using any interface scale between 100%-300%.
This commit is contained in:
@@ -81,7 +81,7 @@ bool PrepareAlbumMediaIsWaiting(
|
||||
if (ValidPhotoForAlbum(*image)) {
|
||||
file.shownDimensions = PrepareShownDimensions(image->data);
|
||||
file.preview = Images::prepareOpaque(image->data.scaledToWidth(
|
||||
std::min(previewWidth, convertScale(image->data.width()))
|
||||
std::min(previewWidth, ConvertScale(image->data.width()))
|
||||
* cIntRetinaFactor(),
|
||||
Qt::SmoothTransformation));
|
||||
Assert(!file.preview.isNull());
|
||||
|
Reference in New Issue
Block a user