mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed position of connecting state widget when forum is opened.
Fixed #27548.
This commit is contained in:
parent
f56b16c6ef
commit
02e1c03ed9
1 changed files with 3 additions and 1 deletions
|
@ -2964,7 +2964,9 @@ void Widget::updateControlsGeometry() {
|
||||||
if (_connecting) {
|
if (_connecting) {
|
||||||
_connecting->setBottomSkip(bottomSkip);
|
_connecting->setBottomSkip(bottomSkip);
|
||||||
}
|
}
|
||||||
controller()->setConnectingBottomSkip(bottomSkip);
|
if (_layout != Layout::Child) {
|
||||||
|
controller()->setConnectingBottomSkip(bottomSkip);
|
||||||
|
}
|
||||||
|
|
||||||
const auto wasScrollTop = _scroll->scrollTop();
|
const auto wasScrollTop = _scroll->scrollTop();
|
||||||
const auto newScrollTop = (_topDelta < 0 && wasScrollTop <= 0)
|
const auto newScrollTop = (_topDelta < 0 && wasScrollTop <= 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue