mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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.preview = kEmpty;
|
||||||
result.spoilerRepaint = nullptr;
|
result.spoilerRepaint = nullptr;
|
||||||
} else {
|
} else {
|
||||||
result.preview = preview->original();
|
result.preview = Images::Round(
|
||||||
|
preview->original(),
|
||||||
|
ImageRoundRadius::Small);
|
||||||
result.spoilerRepaint = spoiler ? repaint : nullptr;
|
result.spoilerRepaint = spoiler ? repaint : nullptr;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Add table
Reference in a new issue