aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/item_handlers
diff options
context:
space:
mode:
authorZéro~Informatique2023-03-26 18:14:39 +0200
committerZéro~Informatique2023-03-26 18:15:14 +0200
commit82101ec4a81d0bbb54611fad43c0a75164770ae1 (patch)
tree4fda5bc8f3773ee15a3bbdaec584451a891c2ba8 /viewer/src/views/item_handlers
parent1f92cc4f17debdb6991a7f388f8e313d461744ff (diff)
downloadldgallery-82101ec4a81d0bbb54611fad43c0a75164770ae1.tar.gz
viewer: fixed drag 'n drop of pictures on firefox
Diffstat (limited to 'viewer/src/views/item_handlers')
-rw-r--r--viewer/src/views/item_handlers/PictureViewer.vue2
1 files changed, 2 insertions, 0 deletions
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 @@
18--> 18-->
19 19
20<template> 20<template>
21 <!-- @dragstart.prevent stops Drag 'n Drop of pictures on FireFox -->
21 <div 22 <div
22 ref="containerElement" 23 ref="containerElement"
23 v-dragscroll 24 v-dragscroll
24 class="scrollbar" 25 class="scrollbar"
25 :class="$style.pictureContainer" 26 :class="$style.pictureContainer"
26 @dblclick="uiStore.toggleFullscreen()" 27 @dblclick="uiStore.toggleFullscreen()"
28 @dragstart.prevent="false"
27 > 29 >
28 <img 30 <img
29 v-if="!error" 31 v-if="!error"