mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
parent
de57fecb69
commit
aaeac2ab73
1 changed files with 2 additions and 2 deletions
|
|
@ -243,7 +243,7 @@
|
||||||
use:zoomImageAction
|
use:zoomImageAction
|
||||||
use:swipe={() => ({})}
|
use:swipe={() => ({})}
|
||||||
onswipe={onSwipe}
|
onswipe={onSwipe}
|
||||||
class="h-full w-full flex"
|
class="h-full w-full"
|
||||||
transition:fade={{ duration: haveFadeTransition ? assetViewerFadeDuration : 0 }}
|
transition:fade={{ duration: haveFadeTransition ? assetViewerFadeDuration : 0 }}
|
||||||
>
|
>
|
||||||
{#if $slideshowState !== SlideshowState.None && $slideshowLook === SlideshowLook.BlurredBackground}
|
{#if $slideshowState !== SlideshowState.None && $slideshowLook === SlideshowLook.BlurredBackground}
|
||||||
|
|
@ -258,7 +258,7 @@
|
||||||
bind:this={$photoViewerImgElement}
|
bind:this={$photoViewerImgElement}
|
||||||
src={assetFileUrl}
|
src={assetFileUrl}
|
||||||
alt={$getAltText(toTimelineAsset(asset))}
|
alt={$getAltText(toTimelineAsset(asset))}
|
||||||
class="max-h-full max-w-full h-auto w-auto mx-auto my-auto {$slideshowState === SlideshowState.None
|
class="h-full w-full {$slideshowState === SlideshowState.None
|
||||||
? 'object-contain'
|
? 'object-contain'
|
||||||
: slideshowLookCssMapping[$slideshowLook]}"
|
: slideshowLookCssMapping[$slideshowLook]}"
|
||||||
draggable="false"
|
draggable="false"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue