From 82101ec4a81d0bbb54611fad43c0a75164770ae1 Mon Sep 17 00:00:00 2001
From: Zéro~Informatique
Date: Sun, 26 Mar 2023 18:14:39 +0200
Subject: viewer: fixed drag 'n drop of pictures on firefox

---
 viewer/src/views/item_handlers/PictureViewer.vue | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'viewer/src/views/item_handlers/PictureViewer.vue')

diff --git a/viewer/src/views/item_handlers/PictureViewer.vue b/viewer/src/views/item_handlers/PictureViewer.vue
index 74b978f..d091f19 100644
--- a/viewer/src/views/item_handlers/PictureViewer.vue
+++ b/viewer/src/views/item_handlers/PictureViewer.vue
@@ -18,12 +18,14 @@
 -->
 
 <template>
+  <!-- @dragstart.prevent stops Drag 'n Drop of pictures on FireFox -->
   <div
     ref="containerElement"
     v-dragscroll
     class="scrollbar"
     :class="$style.pictureContainer"
     @dblclick="uiStore.toggleFullscreen()"
+    @dragstart.prevent="false"
   >
     <img
       v-if="!error"
-- 
cgit v1.2.3

