mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fixed painting of non personal photo in UserpicButton on Retina.
This commit is contained in:
parent
deeb022e0b
commit
8de3b2c0d3
1 changed files with 1 additions and 0 deletions
|
@ -985,6 +985,7 @@ void UserpicButton::prepareUserpicPixmap() {
|
|||
} else {
|
||||
image = Images::Circle(std::move(image));
|
||||
}
|
||||
image.setDevicePixelRatio(style::DevicePixelRatio());
|
||||
p.drawImage(0, 0, image);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue