mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Move filters side bar inside bodyWidget.
This commit is contained in:
@@ -522,12 +522,6 @@ void MainWindow::updateControlsGeometry() {
|
||||
bodyWidth -= _rightColumn->width();
|
||||
_rightColumn->setGeometry(bodyWidth, bodyTop, width() - bodyWidth, height() - bodyTop);
|
||||
}
|
||||
if (const auto session = _controller->sessionController()) {
|
||||
if (const auto skip = session->filtersWidth()) {
|
||||
bodyLeft += skip;
|
||||
bodyWidth -= skip;
|
||||
}
|
||||
}
|
||||
_body->setGeometry(bodyLeft, bodyTop, bodyWidth, height() - bodyTop);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user