2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Improve stickers list variable width support.

This commit is contained in:
John Preston
2017-11-14 12:15:14 +04:00
parent 7db80d20f1
commit defa0ae4d0
6 changed files with 53 additions and 14 deletions

View File

@@ -185,11 +185,11 @@ bool Controller::takeThirdSectionFromLayer() {
}
void Controller::resizeForThirdSection() {
auto layout = computeColumnLayout();
if (layout.windowLayout == Adaptive::WindowLayout::ThreeColumn) {
if (Adaptive::ThreeColumn()) {
return;
}
auto layout = computeColumnLayout();
auto tabbedSelectorSectionEnabled =
Auth().data().tabbedSelectorSectionEnabled();
auto thirdSectionInfoEnabled =