diff --git a/src/components/FullscreenPlayer.tsx b/src/components/FullscreenPlayer.tsx index 61e993a4..4437330e 100644 --- a/src/components/FullscreenPlayer.tsx +++ b/src/components/FullscreenPlayer.tsx @@ -13,7 +13,7 @@ import { useLyrics, type WordLyricsLine } from '../hooks/useLyrics'; import { useAuthStore } from '../store/authStore'; import type { LrcLine } from '../api/lrclib'; import type { Track } from '../store/playerStore'; -import { EaseScroller, targetForFraction } from '../utils/springScroll'; +import { EaseScroller, targetForFraction } from '../utils/easeScroll'; function formatTime(seconds: number): string { if (!seconds || isNaN(seconds)) return '0:00'; diff --git a/src/components/LyricsPane.tsx b/src/components/LyricsPane.tsx index 34dbdeef..58d32e70 100644 --- a/src/components/LyricsPane.tsx +++ b/src/components/LyricsPane.tsx @@ -6,7 +6,7 @@ import { useLyrics, type WordLyricsLine } from '../hooks/useLyrics'; import { useAuthStore } from '../store/authStore'; import { useTranslation } from 'react-i18next'; import type { Track } from '../store/playerStore'; -import { EaseScroller, targetForFraction } from '../utils/springScroll'; +import { EaseScroller, targetForFraction } from '../utils/easeScroll'; interface Props { currentTrack: Track | null; diff --git a/src/utils/springScroll.ts b/src/utils/easeScroll.ts similarity index 100% rename from src/utils/springScroll.ts rename to src/utils/easeScroll.ts