From 0758af1b219e2e6b43ee223d4f72cc15449ee23a Mon Sep 17 00:00:00 2001 From: phm07 <22707808+phm07@users.noreply.github.com> Date: Thu, 28 Nov 2024 23:28:13 +0100 Subject: [PATCH] fix(Webcam): make webcam view non-draggable (#2057) Co-authored-by: Stefan Dej --- src/components/webcams/streamers/Mjpegstreamer.vue | 1 + src/components/webcams/streamers/MjpegstreamerAdaptive.vue | 1 + src/components/webcams/streamers/Uv4lMjpeg.vue | 1 + 3 files changed, 3 insertions(+) diff --git a/src/components/webcams/streamers/Mjpegstreamer.vue b/src/components/webcams/streamers/Mjpegstreamer.vue index 03706b94a..79232c8e1 100644 --- a/src/components/webcams/streamers/Mjpegstreamer.vue +++ b/src/components/webcams/streamers/Mjpegstreamer.vue @@ -4,6 +4,7 @@ v-show="status === 'connected'" ref="image" class="webcamImage" + draggable="false" :style="webcamStyle" :alt="camSettings.name" src="#" diff --git a/src/components/webcams/streamers/MjpegstreamerAdaptive.vue b/src/components/webcams/streamers/MjpegstreamerAdaptive.vue index cac1ee5f8..12dd30a79 100644 --- a/src/components/webcams/streamers/MjpegstreamerAdaptive.vue +++ b/src/components/webcams/streamers/MjpegstreamerAdaptive.vue @@ -4,6 +4,7 @@ v-show="status === 'connected'" ref="image" class="webcamImage" + draggable="false" :style="webcamStyle" :alt="camSettings.name" src="#" diff --git a/src/components/webcams/streamers/Uv4lMjpeg.vue b/src/components/webcams/streamers/Uv4lMjpeg.vue index 7b7912007..a1e11bc5d 100644 --- a/src/components/webcams/streamers/Uv4lMjpeg.vue +++ b/src/components/webcams/streamers/Uv4lMjpeg.vue @@ -5,6 +5,7 @@ v-observe-visibility="viewportVisibilityChanged" :style="webcamStyle" class="webcamImage" + draggable="false" @load="onload" />