run checks

This commit is contained in:
Harvey
2026-04-18 01:05:41 +01:00
parent 89405d1c78
commit 28f76c8db3
2 changed files with 7 additions and 6 deletions
@@ -47,14 +47,16 @@
let hoveredIndex = $state<number | null>(null);
let cardEls: HTMLAnchorElement[] = [];
let tiltStyles: string[] = $state(Array(cards.length).fill(''));
let specularStyles: string[] = $state(Array(cards.length).fill(''));
let tiltStyles: string[] = $derived(Array(cards.length).fill(''));
let specularStyles: string[] = $derived(Array(cards.length).fill(''));
const tweenDuration = reducedMotion ? 0 : 1200;
const counters: Tweened<number>[] = Array.from({ length: cards.length }, () =>
tweened(0, { duration: tweenDuration, easing: cubicOut })
const counters: Tweened<number>[] = $derived.by(() =>
Array.from({ length: cards.length }, () =>
tweened(0, { duration: tweenDuration, easing: cubicOut })
)
);
let counterValues: number[] = $state(Array(cards.length).fill(0));
let counterValues: number[] = $derived(Array(cards.length).fill(0));
$effect(() => {
const unsubs = counters.map((c, i) =>
@@ -44,7 +44,6 @@ import { launchLocalPlayback } from '$lib/player/launchLocalPlayback';
import { launchNavidromePlayback } from '$lib/player/launchNavidromePlayback';
import { launchPlexPlayback } from '$lib/player/launchPlexPlayback';
import { downloadFile } from '$lib/utils/downloadHelper';
import { API } from '$lib/constants';
import type { MenuItem } from '$lib/components/ContextMenu.svelte';
import {
fetchAlbumBasic,