mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix long forward messages preview in box.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user