Replace unrendered frame with a frame counter

Move facepile to the left hand side
This commit is contained in:
Piotr Osiewicz 2023-11-27 13:02:21 +01:00
parent 9590f253a9
commit 714b45157b
6 changed files with 16 additions and 13 deletions

View file

@ -592,13 +592,9 @@ impl CallHandler for Call {
cx: &mut ViewContext<Workspace>,
) -> Option<Box<dyn ItemHandle>> {
let (call, _) = self.active_call.as_ref()?;
dbg!("A");
let room = call.read(cx).room()?.read(cx);
dbg!("B");
let participant = room.remote_participant_for_peer_id(peer_id)?;
dbg!("C");
let track = participant.video_tracks.values().next()?.clone();
dbg!("D");
let user = participant.user.clone();
for item in pane.read(cx).items_of_type::<SharedScreen>() {
if item.read(cx).peer_id == peer_id {