Fixed painting of non personal photo in UserpicButton on Retina.

This commit is contained in:
23rd 2023-01-07 09:29:20 +03:00 committed by John Preston
parent deeb022e0b
commit 8de3b2c0d3
1 changed files with 1 additions and 0 deletions

View File

@ -985,6 +985,7 @@ void UserpicButton::prepareUserpicPixmap() {
} else {
image = Images::Circle(std::move(image));
}
image.setDevicePixelRatio(style::DevicePixelRatio());
p.drawImage(0, 0, image);
}
} else {