diff --git a/src/components/media_modal/media_modal.js b/src/components/media_modal/media_modal.js index 6ebfec0f..15cd3964 100644 --- a/src/components/media_modal/media_modal.js +++ b/src/components/media_modal/media_modal.js @@ -22,9 +22,9 @@ const MediaModal = { components: { StillImage, VideoAttachment, + Modal, PinchZoom, - SwipeClick, - Modal + SwipeClick }, computed: { showing () { @@ -57,7 +57,7 @@ const MediaModal = { const considerableMoveRatio = 1 / 4 return window.innerWidth * considerableMoveRatio }, - pinchZoomMinScale: 1, + pinchZoomMinScale: 0.9, pinchZoomScaleResetLimit: 1.2 } }, diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 894e10e5..97f79439 100644 --- a/src/components/media_modal/media_modal.vue +++ b/src/components/media_modal/media_modal.vue @@ -4,18 +4,37 @@ class="media-modal-view" @backdropClicked="hide" > - + + + + -