2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Fixed covering right part of chat list with dialogs up button at end.

This commit is contained in:
23rd
2019-12-16 02:07:22 +03:00
committed by John Preston
parent f51f133832
commit ff4ccdc59c

View File

@@ -331,7 +331,8 @@ void Widget::updateScrollUpVisibility() {
}
startScrollUpButtonAnimation(
_scroll->scrollTop() > st::historyToDownShownAfter);
(_scroll->scrollTop() > st::historyToDownShownAfter)
&& (_scroll->scrollTop() < _scroll->scrollTopMax()));
}
void Widget::startScrollUpButtonAnimation(bool shown) {