feat: integrate lyrics module with UI
- Add lyricsStore for frontend state management with LRC parsing - Wire LyricsSidebar to main layout with toggle button in NowPlayingBar - Fix Rust compile errors (add Clone to LrclibItem, remove unused import) - Add lyrics active line tracking with binary search - Auto-start/stop lyrics updates based on playback state
This commit is contained in:
1 parent
a3a766ba34
commit
80ff8afa3a
6 files changed
+533
-6
No files matched your search
+1
-1
@@ -26,4 +26,4 @@ const localStorageMock = {
|
||||
length: 0,
|
||||
key: vi.fn()
|
||||
};
|
||||
Object.defineProperty(global, 'localStorage', { value: localStorageMock });
|
||||
Object.defineProperty(globalThis, 'localStorage', { value: localStorageMock });
|
||||
Reference in new issue
Block a user