mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
report spam panel positioned under the pinned message
This commit is contained in:
parent
3e37be5d5c
commit
680ea9f616
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue