Disabled top moving of dialogs when window has normal adaptive layout.

Fixed #8370.
This commit is contained in:
23rd 2020-09-30 18:33:37 +03:00 committed by John Preston
parent 745bbfe268
commit 015277c4d3

View file

@ -2201,7 +2201,7 @@ void MainWidget::updateControlsGeometry() {
accumulate_min(dialogsWidth, width() - st::columnMinimalWidthMain);
auto mainSectionWidth = width() - dialogsWidth - thirdSectionWidth;
_dialogs->setGeometryWithTopMoved({ 0, 0, dialogsWidth, height() }, _contentScrollAddToY);
_dialogs->setGeometryToLeft(0, 0, dialogsWidth, height());
const auto shadowTop = _controller->window().verticalShadowTop();
const auto shadowHeight = height() - shadowTop;
_sideShadow->setGeometryToLeft(