mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-23 09:37:08 +02:00
Disabled top moving of dialogs when window has normal adaptive layout.
Fixed #8370.
This commit is contained in:
parent
745bbfe268
commit
015277c4d3
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue