mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Don't scroll dialogs up (support).
This commit is contained in:
parent
a27e9ad734
commit
a0ff432ac8
1 changed files with 3 additions and 0 deletions
|
@ -232,6 +232,9 @@ void DialogsWidget::repaintDialogRow(
|
|||
}
|
||||
|
||||
void DialogsWidget::dialogsToUp() {
|
||||
if (Auth().supportMode()) {
|
||||
return;
|
||||
}
|
||||
if (_filter->getLastText().trimmed().isEmpty() && !_searchInChat) {
|
||||
_scroll->scrollToY(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue