mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fixed position of connecting state widget when forum is opened.
Fixed #27548.
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user