2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-29 13:47:47 +00:00

Remove limit on chats list width.

Fixes #4146.
This commit is contained in:
John Preston 2017-12-12 14:38:59 +04:00
parent e998bd0b3f
commit 3c101b0a50

View File

@ -130,7 +130,7 @@ Controller::ColumnLayout Controller::computeColumnLayout() const {
int Controller::countDialogsWidthFromRatio(int bodyWidth) const {
auto result = qRound(bodyWidth * Auth().data().dialogsWidthRatio());
accumulate_max(result, st::columnMinimalWidthLeft);
accumulate_min(result, st::columnMaximalWidthLeft);
// accumulate_min(result, st::columnMaximalWidthLeft);
return result;
}