Remove empty space below video without caption.

This commit is contained in:
John Preston 2024-06-01 10:58:48 +04:00
parent c681569349
commit 5c83858a50
1 changed files with 0 additions and 3 deletions

View File

@ -269,9 +269,6 @@ QSize Gif::countOptimalSize() {
accumulate_max(maxWidth, botTop->maxWidth);
minHeight += botTop->height;
}
if (isBubbleBottom()) {
minHeight += st::msgPadding.bottom();
}
} else if (isUnwrapped()) {
const auto item = _parent->data();
auto via = item->Get<HistoryMessageVia>();