Left animation to top only for dialogs up button.

This commit is contained in:
23rd 2019-04-11 12:08:23 +03:00 committed by John Preston
parent 8aa0b31c1a
commit 60e36b1411
1 changed files with 2 additions and 1 deletions

View File

@ -392,7 +392,8 @@ void DialogsWidget::jumpToTop() {
return; return;
} }
if ((_filter->getLastText().trimmed().isEmpty() && !_searchInChat)) { if ((_filter->getLastText().trimmed().isEmpty() && !_searchInChat)) {
scrollToTop(); _scrollToAnimation.stop();
_scroll->scrollToY(0);
} }
} }