Prettier fixes into video management
This commit is contained in:
parent
d2bfa75b37
commit
feeb20fb5d
@ -50,7 +50,12 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="video-container" class:no-clikable={!clickable} bind:this={videoContainer} on:click={() => (clickable ? highlightedEmbedScreen.toggleHighlight(embedScreen) : null)}>
|
||||
<div
|
||||
class="video-container"
|
||||
class:no-clikable={!clickable}
|
||||
bind:this={videoContainer}
|
||||
on:click={() => (clickable ? highlightedEmbedScreen.toggleHighlight(embedScreen) : null)}
|
||||
>
|
||||
{#if $statusStore === "connecting"}
|
||||
<div class="connecting-spinner" />
|
||||
{/if}
|
||||
|
@ -26,9 +26,9 @@ function createStreamableCollectionStore(): Readable<Map<string, Streamable>> {
|
||||
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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user