Remove empty space below video without caption.
This commit is contained in:
parent
c681569349
commit
5c83858a50
|
@ -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>();
|
||||
|
|
Loading…
Reference in New Issue