chore: bump svelte gestures (#22263)

This commit is contained in:
Daniel Dietzler 2025-09-22 04:03:06 +02:00 committed by GitHub
parent fe416b121c
commit b2f3bf7079
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 15 deletions

View file

@ -22,7 +22,7 @@
import { AssetMediaSize, type AssetResponseDto, type SharedLinkResponseDto } from '@immich/sdk';
import { LoadingSpinner } from '@immich/ui';
import { onDestroy, onMount } from 'svelte';
import { swipe, type SwipeCustomEvent } from 'svelte-gestures';
import { useSwipe, type SwipeCustomEvent } from 'svelte-gestures';
import { t } from 'svelte-i18n';
import { fade } from 'svelte/transition';
import { NotificationType, notificationController } from '../shared-components/notification/notification';
@ -234,8 +234,7 @@
{:else if !imageError}
<div
use:zoomImageAction
use:swipe={() => ({})}
onswipe={onSwipe}
{...useSwipe(onSwipe)}
class="h-full w-full"
transition:fade={{ duration: haveFadeTransition ? assetViewerFadeDuration : 0 }}
>