mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Support any size in the tabbed selector.
This commit is contained in:
@@ -162,7 +162,8 @@ void Controller::resizeForThirdSection() {
|
||||
st::columnMinimalWidthThird);
|
||||
auto newBodyWidth = layout.bodyWidth + extendBy;
|
||||
auto currentRatio = Auth().data().dialogsWidthRatio();
|
||||
Auth().data().setDialogsWidthRatio((currentRatio * layout.bodyWidth) / newBodyWidth);
|
||||
Auth().data().setDialogsWidthRatio(
|
||||
(currentRatio * layout.bodyWidth) / newBodyWidth);
|
||||
window()->tryToExtendWidthBy(extendBy);
|
||||
|
||||
Auth().data().setTabbedSelectorSectionEnabled(
|
||||
|
Reference in New Issue
Block a user