2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Profile fixed bar actions done, adaptive layout for profile buttons.

This commit is contained in:
John Preston
2016-05-27 16:56:35 +03:00
parent 3570a1cf91
commit 2c5c25962c
18 changed files with 246 additions and 33 deletions

View File

@@ -6867,7 +6867,8 @@ void HistoryWidget::updateListSize(bool initial, bool loadedDown, const ScrollCh
}
} else {
}
if (toY > _scroll.scrollTopMax()) toY = _scroll.scrollTopMax();
auto scrollMax = _scroll.scrollTopMax();
accumulate_min(toY, scrollMax);
if (_scroll.scrollTop() == toY) {
visibleAreaUpdated();
} else {