fix(ui): restore album ticker speed and enable overlay clicks

This commit is contained in:
vicrodh committed 2026-01-14 01:21:38 -06:00
1 parent d9698d2a77
commit 67de899071
1 file changed
+4 -3
+4 -3
View File
@@ -55,8 +55,9 @@
let artistOverflow = $state(0); let artistOverflow = $state(0);
const titleOffset = $derived(titleOverflow > 0 ? `-${titleOverflow + 16}px` : '0px'); const titleOffset = $derived(titleOverflow > 0 ? `-${titleOverflow + 16}px` : '0px');
const artistOffset = $derived(artistOverflow > 0 ? `-${artistOverflow + 16}px` : '0px'); const artistOffset = $derived(artistOverflow > 0 ? `-${artistOverflow + 16}px` : '0px');
const titleDuration = $derived(titleOverflow > 0 ? '6s' : '0s'); const tickerSpeed = 80;
const artistDuration = $derived(artistOverflow > 0 ? '6s' : '0s'); const titleDuration = $derived(titleOverflow > 0 ? `${(titleOverflow + 16) / tickerSpeed}s` : '0s');
const artistDuration = $derived(artistOverflow > 0 ? `${(artistOverflow + 16) / tickerSpeed}s` : '0s');
let favoriteFromStore = $state(false); let favoriteFromStore = $state(false);
const isFavorite = $derived(albumId ? favoriteFromStore : false); const isFavorite = $derived(albumId ? favoriteFromStore : false);
@@ -278,7 +279,7 @@
background: rgba(10, 10, 10, 0.25); background: rgba(10, 10, 10, 0.25);
backdrop-filter: blur(6px); backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
pointer-events: none; pointer-events: auto;
border-radius: inherit; border-radius: inherit;
} }