mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-15 00:27:32 +08:00
fix(lyric): 修复桌面歌词窗口首次打开无歌词问题
歌词窗口 Vue 加载完成后发送 lyric-ready 信号,主窗口收到后 发送完整歌词数据,替代不可靠的延迟猜测方案
This commit is contained in:
Vendored
+1
@@ -19,6 +19,7 @@ interface API {
|
||||
sendSong: (data: any) => void;
|
||||
unblockMusic: (id: number, data: any, enabledSources?: string[]) => Promise<any>;
|
||||
onLyricWindowClosed: (callback: () => void) => void;
|
||||
onLyricWindowReady: (callback: () => void) => void;
|
||||
getAppUpdateState: () => Promise<AppUpdateState>;
|
||||
checkAppUpdate: (manual?: boolean) => Promise<AppUpdateState>;
|
||||
downloadAppUpdate: () => Promise<AppUpdateState>;
|
||||
|
||||
Reference in New Issue
Block a user