Camera view updated to better respond to state (#1437)

This commit is contained in:
Stephen Just
2024-10-05 22:26:14 -07:00
committed by GitHub
parent 3225c079d3
commit cd9dd07282
3 changed files with 50 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ const fpsTooLow = computed<boolean>(() => {
<div class="stream-container pb-4">
<div class="stream">
<photon-camera-stream
v-show="value.includes(0)"
v-if="value.includes(0)"
id="input-camera-stream"
stream-type="Raw"
style="max-width: 100%"
@@ -92,7 +92,7 @@ const fpsTooLow = computed<boolean>(() => {
</div>
<div class="stream">
<photon-camera-stream
v-show="value.includes(1)"
v-if="value.includes(1)"
id="output-camera-stream"
stream-type="Processed"
style="max-width: 100%"
@@ -149,6 +149,7 @@ th {
.stream {
display: flex;
justify-content: center;
width: 100%;
}
@media only screen and (min-width: 960px) {