mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fixed painting of photo with spoiler in SendFilesBox on Retina.
This commit is contained in:
parent
8de3b2c0d3
commit
6467ba7739
1 changed files with 2 additions and 5 deletions
|
@ -312,11 +312,8 @@ QPixmap BlurredPreviewFromPixmap(QPixmap pixmap, RectParts corners) {
|
|||
using namespace Images;
|
||||
return PixmapFromImage(Prepare(
|
||||
Blur(std::move(small), true),
|
||||
image.size() / style::DevicePixelRatio(),
|
||||
{
|
||||
.options = RoundOptions(ImageRoundRadius::Large, corners),
|
||||
.outer = image.size() / style::DevicePixelRatio(),
|
||||
}));
|
||||
image.size(),
|
||||
{ .options = RoundOptions(ImageRoundRadius::Large, corners) }));
|
||||
}
|
||||
|
||||
} // namespace Ui
|
||||
|
|
Loading…
Add table
Reference in a new issue