mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Make keyboard fully shown with media.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user