Prettier fixes into video management
This commit is contained in:
parent
d2bfa75b37
commit
feeb20fb5d
2 changed files with 8 additions and 3 deletions
|
@ -50,7 +50,12 @@
|
||||||
});
|
});
|
||||||
</script>
|
</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"}
|
{#if $statusStore === "connecting"}
|
||||||
<div class="connecting-spinner" />
|
<div class="connecting-spinner" />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -28,7 +28,7 @@ function createStreamableCollectionStore(): Readable<Map<string, Streamable>> {
|
||||||
|
|
||||||
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();
|
highlightedEmbedScreen.removeHighlight();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue