Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyaboulton committed Jan 31, 2024
1 parent 1395b21 commit 7afbca4
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions js/image/shared/Webcam.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@
</script>

<div class="wrap">
<!-- svelte-ignore a11y-media-has-caption -->
<!-- need to suppress for video streaming https://github.com/sveltejs/svelte/issues/5967 -->
<video
bind:this={video_source}
class:flip={mirror_webcam}
Expand All @@ -215,8 +217,6 @@
{#if !webcam_accessed}
<WebcamPermissions on:click={async () => access_webcam()} />
{:else}
<!-- svelte-ignore a11y-media-has-caption -->
<!-- need to suppress for video streaming https://github.com/sveltejs/svelte/issues/5967 -->
<div class="button-wrap">
<button
on:click={record_video_or_photo}
Expand Down Expand Up @@ -387,23 +387,6 @@
opacity: 0.8;
}
.wrap-webcam-access {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: var(--size-60);
color: var(--block-label-text-color);
line-height: var(--line-md);
height: 100%;
padding-top: var(--size-3);
}
.icon-wrap {
width: 30px;
margin-bottom: var(--spacing-lg);
}
@media (--screen-md) {
.wrap {
font-size: var(--text-lg);
Expand Down

0 comments on commit 7afbca4

Please sign in to comment.