mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +00:00
Disabled top moving of dialogs when window has normal adaptive layout.
Fixed #8370.
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user