mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
e998bd0b3f
commit
3c101b0a50
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ Controller::ColumnLayout Controller::computeColumnLayout() const {
|
||||||
int Controller::countDialogsWidthFromRatio(int bodyWidth) const {
|
int Controller::countDialogsWidthFromRatio(int bodyWidth) const {
|
||||||
auto result = qRound(bodyWidth * Auth().data().dialogsWidthRatio());
|
auto result = qRound(bodyWidth * Auth().data().dialogsWidthRatio());
|
||||||
accumulate_max(result, st::columnMinimalWidthLeft);
|
accumulate_max(result, st::columnMinimalWidthLeft);
|
||||||
accumulate_min(result, st::columnMaximalWidthLeft);
|
// accumulate_min(result, st::columnMaximalWidthLeft);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue