mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-21 05:02:50 +02:00
Make keyboard fully shown with media.
This commit is contained in:
parent
ebce4d0f31
commit
ec28eea7f0
1 changed files with 3 additions and 0 deletions
|
@ -3869,6 +3869,9 @@ int Message::minWidthForMedia() const {
|
|||
accumulate_max(result, added + st::semiboldFont->width(
|
||||
tr::lng_replies_view_original(tr::now)));
|
||||
}
|
||||
if (const auto keyboard = data()->inlineReplyKeyboard()) {
|
||||
accumulate_max(result, keyboard->naturalWidth());
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue