Make modal easier to close if there is only one image

This commit is contained in:
tusooa 2023-01-14 10:19:08 -05:00
commit 274d384572
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
3 changed files with 13 additions and 0 deletions

View file

@ -10,6 +10,7 @@
class="modal-image-container"
:direction="swipeDirection"
:threshold="swipeThreshold"
:disable-click-threshold="swipeDisableClickThreshold"
@preview-requested="handleSwipePreview"
@swipe-finished="handleSwipeEnd"
@swipeless-clicked="hide"