Fixed painting of non personal photo in UserpicButton on Retina.
This commit is contained in:
parent
deeb022e0b
commit
8de3b2c0d3
|
@ -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…
Reference in New Issue