mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Added round corners to preview in pinned messages bar.
This commit is contained in:
parent
506fa52c1c
commit
eb2fa5b806
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@ namespace {
|
|||
result.preview = kEmpty;
|
||||
result.spoilerRepaint = nullptr;
|
||||
} else {
|
||||
result.preview = preview->original();
|
||||
result.preview = Images::Round(
|
||||
preview->original(),
|
||||
ImageRoundRadius::Small);
|
||||
result.spoilerRepaint = spoiler ? repaint : nullptr;
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Reference in a new issue