mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Improve wide video layout.
This commit is contained in:
@@ -1022,5 +1022,5 @@ desktopCaptureSourceSkip: 12px;
|
||||
groupCallNarrowSkip: 9px;
|
||||
groupCallNarrowRowSkip: 8px;
|
||||
groupCallNarrowSize: size(90px, 90px);
|
||||
groupCallWideModeWidthMin: 800px;
|
||||
groupCallWideModeSize: size(960px, 520px);
|
||||
groupCallWideModeWidthMin: 520px;
|
||||
groupCallWideModeSize: size(720px, 480px);
|
||||
|
||||
@@ -475,7 +475,8 @@ void GroupCall::subscribeToReal(not_null<Data::GroupCall*> real) {
|
||||
_videoStreamLarge = bestWithVideoSsrc;
|
||||
}
|
||||
} else if ((nowSpeaking || nowSounding)
|
||||
&& (data.now->ssrc != videoLargeSsrc)) {
|
||||
&& (data.now->ssrc != videoLargeSsrc)
|
||||
&& _videoStreamSsrcs.contains(data.now->ssrc)) {
|
||||
const auto i = ranges::find(
|
||||
participants,
|
||||
videoLargeSsrc,
|
||||
|
||||
@@ -1561,7 +1561,7 @@ void Panel::updateMembersGeometry() {
|
||||
_pinnedVideo->setGeometry(
|
||||
pinnedLeft,
|
||||
membersTop,
|
||||
widget()->width() - pinnedLeft,
|
||||
widget()->width() - pinnedLeft - st::groupCallNarrowSkip,
|
||||
availableHeight);
|
||||
} else {
|
||||
const auto membersWidthAvailable = widget()->width()
|
||||
|
||||
Vendored
+1
-1
Submodule Telegram/ThirdParty/tgcalls updated: 0f608993f7...4a944bc29e
Reference in New Issue
Block a user