2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Allow wide chats in empty window.

This commit is contained in:
John Preston
2024-05-16 13:35:21 +04:00
parent 4d4cf472c8
commit d91b75b8f8
9 changed files with 149 additions and 57 deletions

View File

@@ -250,6 +250,7 @@ private:
void handleAudioUpdate(const Media::Player::TrackState &state);
void updateMediaPlaylistPosition(int x);
void updateControlsGeometry();
void updateMainSectionShown();
void updateDialogsWidthAnimated();
void updateThirdColumnToCurrentChat(
Dialogs::Key key,
@@ -278,7 +279,6 @@ private:
void showNewSection(
std::shared_ptr<Window::SectionMemento> memento,
const SectionShow &params);
void dropMainSection(Window::SectionWidget *widget);
Window::SectionSlideParams prepareThirdSectionAnimation(Window::SectionWidget *section);