mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix initial scroll to search result in bots.
This commit is contained in:
parent
642b0ed032
commit
3ac222db62
1 changed files with 2 additions and 1 deletions
|
@ -3088,6 +3088,8 @@ void HistoryInner::recountHistoryGeometry() {
|
|||
accumulate_max(oldHistoryPaddingTop, _botAbout->height);
|
||||
}
|
||||
|
||||
updateBotInfo(false);
|
||||
|
||||
_history->resizeToWidth(_contentWidth);
|
||||
if (_migrated) {
|
||||
_migrated->resizeToWidth(_contentWidth);
|
||||
|
@ -3111,7 +3113,6 @@ void HistoryInner::recountHistoryGeometry() {
|
|||
}
|
||||
}
|
||||
|
||||
updateBotInfo(false);
|
||||
if (const auto view = _botAbout ? _botAbout->view() : nullptr) {
|
||||
_botAbout->height = view->resizeGetHeight(_contentWidth);
|
||||
_botAbout->top = qMin(
|
||||
|
|
Loading…
Add table
Reference in a new issue