mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Removed width calculation of dialogs list when this list is disabled.
This commit is contained in:
parent
9bc48f4aba
commit
e8a5ddad37
1 changed files with 3 additions and 1 deletions
|
@ -2589,7 +2589,9 @@ void MainWidget::updateWindowAdaptiveLayout() {
|
|||
auto useSmallColumnWidth = !isOneColumn()
|
||||
&& !dialogsWidthRatio
|
||||
&& !_controller->forceWideDialogs();
|
||||
_dialogsWidth = useSmallColumnWidth
|
||||
_dialogsWidth = !_dialogs
|
||||
? 0
|
||||
: useSmallColumnWidth
|
||||
? _controller->dialogsSmallColumnWidth()
|
||||
: layout.dialogsWidth;
|
||||
_thirdColumnWidth = layout.thirdWidth;
|
||||
|
|
Loading…
Add table
Reference in a new issue