From 680ea9f6162d0950b0593cf009ca86715b4a2acf Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 14 Mar 2016 16:27:01 +0300 Subject: [PATCH] report spam panel positioned under the pinned message --- Telegram/SourceFiles/historywidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index a8dc52ad84..28aa496e7e 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -6202,12 +6202,14 @@ void HistoryWidget::resizeEvent(QResizeEvent *e) { if (_pinnedBar) { if (_scroll.y() != st::replyHeight) { _scroll.move(0, st::replyHeight); + _reportSpamPanel.move(0, st::replyHeight); _attachMention.setBoundings(_scroll.geometry()); } _pinnedBar->cancel.move(width() - _pinnedBar->cancel.width(), 0); _pinnedBar->shadow.setGeometry(0, st::replyHeight, width(), st::lineWidth); } else if (_scroll.y() != 0) { _scroll.move(0, 0); + _reportSpamPanel.move(0, 0); _attachMention.setBoundings(_scroll.geometry()); }