2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Don't scroll dialogs up (support).

This commit is contained in:
John Preston
2018-10-07 22:27:36 +03:00
parent a27e9ad734
commit a0ff432ac8

View File

@@ -232,6 +232,9 @@ void DialogsWidget::repaintDialogRow(
}
void DialogsWidget::dialogsToUp() {
if (Auth().supportMode()) {
return;
}
if (_filter->getLastText().trimmed().isEmpty() && !_searchInChat) {
_scroll->scrollToY(0);
}