Fix animated emojis size
This commit is contained in:
parent
ff390509eb
commit
87c829e960
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ QSize Sticker::Size() {
|
|||
}
|
||||
|
||||
QSize Sticker::EmojiSize() {
|
||||
const auto maxHeight = int(st::maxStickerSize / 256.0 * StickerHeight());
|
||||
const auto maxHeight = int(st::maxStickerSize / 256.0 * StickerHeight() / 2);
|
||||
const auto side = std::min(maxHeight, kMaxEmojiSizeFixed);
|
||||
return { side, side };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue