From 9a8812d00b2fc6ddfdafe56f4f8ede541aad1485 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 17 May 2021 15:39:11 +0400 Subject: [PATCH] Move participants list to the right of the window. --- Telegram/SourceFiles/calls/group/calls_group_panel.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp index f03bb6d9f3..4ba350f34b 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp @@ -1938,8 +1938,7 @@ void Panel::updateButtonsGeometry() { + 2 * membersSkip; auto left = (_mode == PanelMode::Default) ? (widget()->width() - fullWidth) / 2 - : (membersWidth - + (widget()->width() + : ((widget()->width() - membersWidth - membersSkip - fullWidth) / 2); @@ -2012,12 +2011,12 @@ void Panel::updateMembersGeometry() { const auto membersWidth = st::groupCallNarrowMembersWidth; const auto top = st::groupCallWideVideoTop; _members->setGeometry( - skip, + widget()->width() - skip - membersWidth, top, membersWidth, std::min(desiredHeight, widget()->height() - top - skip)); _pinnedVideoWrap->setGeometry( - membersWidth + 2 * skip, + skip, top, widget()->width() - membersWidth - 3 * skip, widget()->height() - top - skip);