diff --git a/front/src/Components/Video/VideoMediaBox.svelte b/front/src/Components/Video/VideoMediaBox.svelte index 424a657e..e5199a37 100644 --- a/front/src/Components/Video/VideoMediaBox.svelte +++ b/front/src/Components/Video/VideoMediaBox.svelte @@ -50,7 +50,12 @@ }); -
(clickable ? highlightedEmbedScreen.toggleHighlight(embedScreen) : null)}> +
(clickable ? highlightedEmbedScreen.toggleHighlight(embedScreen) : null)} +> {#if $statusStore === "connecting"}
{/if} diff --git a/front/src/Stores/StreamableCollectionStore.ts b/front/src/Stores/StreamableCollectionStore.ts index 4b38d272..e88b1de0 100644 --- a/front/src/Stores/StreamableCollectionStore.ts +++ b/front/src/Stores/StreamableCollectionStore.ts @@ -26,9 +26,9 @@ function createStreamableCollectionStore(): Readable> { addPeer($screenSharingLocalMedia); } - const $highlightedEmbedScreen = get(highlightedEmbedScreen); + const $highlightedEmbedScreen = get(highlightedEmbedScreen); - if ($highlightedEmbedScreen?.type === 'streamable' && !peers.has($highlightedEmbedScreen.embed.uniqueId)) { + if ($highlightedEmbedScreen?.type === "streamable" && !peers.has($highlightedEmbedScreen.embed.uniqueId)) { highlightedEmbedScreen.removeHighlight(); }