mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
@@ -1706,6 +1706,11 @@ void Widget::updateControlsGeometry() {
|
||||
putBottomButton(_updateTelegram);
|
||||
putBottomButton(_downloadBar);
|
||||
putBottomButton(_loadMoreChats);
|
||||
const auto bottomSkip = (height() - scrollTop) - scrollHeight;
|
||||
if (_connecting) {
|
||||
_connecting->setBottomSkip(bottomSkip);
|
||||
}
|
||||
controller()->setConnectingBottomSkip(bottomSkip);
|
||||
auto wasScrollHeight = _scroll->height();
|
||||
_scroll->setGeometry(0, scrollTop, width(), scrollHeight);
|
||||
_inner->resize(width(), _inner->height());
|
||||
|
Reference in New Issue
Block a user