mirror of
https://github.com/immich-app/immich.git
synced 2025-07-19 22:44:24 +02:00
fix: thumbnail fade in (#18935)
This commit is contained in:
parent
e2ffc9d5a1
commit
90c8fdba96
2 changed files with 2 additions and 2 deletions
web/src/lib
|
@ -231,7 +231,7 @@
|
|||
{#if (!loaded || thumbError) && asset.thumbhash}
|
||||
<canvas
|
||||
use:thumbhash={{ base64ThumbHash: asset.thumbhash }}
|
||||
class="absolute object-cover"
|
||||
class="absolute object-cover z-1"
|
||||
style:width="{width}px"
|
||||
style:height="{height}px"
|
||||
out:fade={{ duration: THUMBHASH_FADE_DURATION }}
|
||||
|
|
|
@ -29,6 +29,6 @@ export const TUNABLES = {
|
|||
NAVIGATE_ON_ASSET_IN_VIEW: getBoolean(storage.getItem('ASSET_GRID.NAVIGATE_ON_ASSET_IN_VIEW'), false),
|
||||
},
|
||||
IMAGE_THUMBNAIL: {
|
||||
THUMBHASH_FADE_DURATION: getNumber(storage.getItem('THUMBHASH_FADE_DURATION'), 150),
|
||||
THUMBHASH_FADE_DURATION: getNumber(storage.getItem('THUMBHASH_FADE_DURATION'), 100),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue