Skip to content

Commit

Permalink
Lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjust committed Sep 28, 2024
1 parent a41339c commit 6c4220a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions photon-client/src/components/app/photon-camera-stream.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const streamStyle = computed<StyleValue>(() => {
return { cursor: "crosshair" };
}
return { };
return {};
});
const containerStyle = computed<StyleValue>(() => {
Expand Down Expand Up @@ -73,14 +73,21 @@ onBeforeUnmount(() => {
if (!mjpgStream.value) return;
mjpgStream.value["src"] = emptyStreamSrc;
});
</script>

<template>
<div class="stream-container" :style="containerStyle">
<img :src="loadingImage" class="stream-loading" />
<img :id="id" class="stream-video" ref="mjpgStream" v-show="streamSrc !== emptyStreamSrc" crossorigin="anonymous" :src="streamSrc" :alt="streamDesc" :style="streamStyle" />
<img
:id="id"
class="stream-video"
ref="mjpgStream"
v-show="streamSrc !== emptyStreamSrc"
crossorigin="anonymous"
:src="streamSrc"
:alt="streamDesc"
:style="streamStyle"
/>
<div class="stream-overlay" :style="overlayStyle">
<pv-icon
icon-name="mdi-camera-image"
Expand Down

0 comments on commit 6c4220a

Please sign in to comment.