Fix long forward messages preview in box.

This commit is contained in:
John Preston
2026-04-03 16:28:06 +07:00
parent df27d58597
commit 5328e8a750
@@ -454,7 +454,9 @@ void PreviewWrap::paintEvent(QPaintEvent *e) {
entry.view->draw(p, context);
p.translate(0, entry.view->height());
const auto height = entry.view->height();
p.translate(0, height);
context.translate(0, -height);
}
const auto top = _entries.empty() ? nullptr : _entries.back().view.get();
if (top && top->displayFromPhoto()) {