mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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