diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2021-08-01 21:39:07 -0400 |
|---|---|---|
| committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-13 11:56:35 -0400 |
| commit | d9030b4fddc9f47cb2f16a7a65f57a5703059e3f (patch) | |
| tree | 8ec4f0509efd44008d6ba981963bb5cbc74806ff /src/components/media_modal/media_modal.vue | |
| parent | a7570f5eb2b8bc576edbcc8e212b2c873ac99e7e (diff) | |
Handle pinch action
Diffstat (limited to 'src/components/media_modal/media_modal.vue')
| -rw-r--r-- | src/components/media_modal/media_modal.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 728c3035..853dec1d 100644 --- a/src/components/media_modal/media_modal.vue +++ b/src/components/media_modal/media_modal.vue @@ -12,9 +12,9 @@ :alt="currentMedia.description" :title="currentMedia.description" :style="{ transform }" - @touchstart.stop="mediaTouchStart" - @touchmove.stop="mediaTouchMove" - @touchend.stop="mediaTouchEnd" + @touchstart.stop.prevent="mediaTouchStart" + @touchmove.stop.prevent="mediaTouchMove" + @touchend.stop.prevent="mediaTouchEnd" @click="hide" @load="onImageLoaded" > |
