From 67de899071e4420af138a0df363afe24bdfc628a Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Wed, 14 Jan 2026 01:21:38 -0600 Subject: [PATCH] fix(ui): restore album ticker speed and enable overlay clicks --- src/lib/components/AlbumCard.svelte | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/components/AlbumCard.svelte b/src/lib/components/AlbumCard.svelte index 649f8e795..39f129156 100644 --- a/src/lib/components/AlbumCard.svelte +++ b/src/lib/components/AlbumCard.svelte @@ -55,8 +55,9 @@ let artistOverflow = $state(0); const titleOffset = $derived(titleOverflow > 0 ? `-${titleOverflow + 16}px` : '0px'); const artistOffset = $derived(artistOverflow > 0 ? `-${artistOverflow + 16}px` : '0px'); - const titleDuration = $derived(titleOverflow > 0 ? '6s' : '0s'); - const artistDuration = $derived(artistOverflow > 0 ? '6s' : '0s'); + const tickerSpeed = 80; + const titleDuration = $derived(titleOverflow > 0 ? `${(titleOverflow + 16) / tickerSpeed}s` : '0s'); + const artistDuration = $derived(artistOverflow > 0 ? `${(artistOverflow + 16) / tickerSpeed}s` : '0s'); let favoriteFromStore = $state(false); const isFavorite = $derived(albumId ? favoriteFromStore : false); @@ -278,7 +279,7 @@ background: rgba(10, 10, 10, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); - pointer-events: none; + pointer-events: auto; border-radius: inherit; }