2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Fix unwrapped media top skip.

This commit is contained in:
John Preston
2022-08-08 19:12:18 +03:00
parent b67bfd0a8a
commit 05edf00d40

View File

@@ -87,6 +87,7 @@ QSize UnwrappedMedia::countCurrentSize(int newWidth) {
accumulate_max(newHeight, minimal + st::msgDateImgDelta + infoHeight);
}
accumulate_max(newWidth, _parent->reactionsOptimalWidth());
_topAdded = 0;
const auto via = item->Get<HistoryMessageVia>();
const auto reply = _parent->displayedReply();
const auto forwarded = getDisplayedForwardedInfo();