mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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) {
|
||||
_connecting->setBottomSkip(bottomSkip);
|
||||
}
|
||||
controller()->setConnectingBottomSkip(bottomSkip);
|
||||
if (_layout != Layout::Child) {
|
||||
controller()->setConnectingBottomSkip(bottomSkip);
|
||||
}
|
||||
|
||||
const auto wasScrollTop = _scroll->scrollTop();
|
||||
const auto newScrollTop = (_topDelta < 0 && wasScrollTop <= 0)
|
||||
|
||||
Reference in New Issue
Block a user