run checks
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user