High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: thumbnail fade in (#18935)
Min Idzelis90c8fdba96cb
diff --git a/web/src/lib/components/assets/thumbnail/thumbnail.svelte b/web/src/lib/components/assets/thumbnail/thumbnail.svelteindex 2121531cf5..00fef98c09 100644--- a/web/src/lib/components/assets/thumbnail/thumbnail.svelte+++ b/web/src/lib/components/assets/thumbnail/thumbnail.svelte@@ -231,7 +231,7 @@{#if (!loaded || thumbError) && asset.thumbhash}<canvasuse: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 }}diff --git a/web/src/lib/utils/tunables.ts b/web/src/lib/utils/tunables.tsindex d044b63267..6ce64ed041 100644--- a/web/src/lib/utils/tunables.ts+++ b/web/src/lib/utils/tunables.ts@@ -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),},};