mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 {
|
} else {
|
||||||
image = Images::Circle(std::move(image));
|
image = Images::Circle(std::move(image));
|
||||||
}
|
}
|
||||||
|
image.setDevicePixelRatio(style::DevicePixelRatio());
|
||||||
p.drawImage(0, 0, image);
|
p.drawImage(0, 0, image);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue