diff --git a/publish/changeLog.md b/publish/changeLog.md index 3b97ab29..3fed00b4 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,3 +1,8 @@ ### 修复 - 修复 MacOS 下点击 dock 右键菜单的退出按钮时,程序没有退出的问题(#1923) +- 修复 OpenAPI 的 `lyricLineAllText` 在切换到无歌词的音乐时内容没有更新的问题(#1925) + +### 变更 + +- 简化了应用退出行为,据测试,现在 linux 下,若启用了托盘,dock 右键菜单的 退出、关闭所有 之类的功能将不再退出程序,需改用托盘的退出按钮退出程序 diff --git a/src/renderer/core/useApp/usePlayer/usePlayStatus.ts b/src/renderer/core/useApp/usePlayer/usePlayStatus.ts index 07b39b88..f6b185dc 100644 --- a/src/renderer/core/useApp/usePlayer/usePlayStatus.ts +++ b/src/renderer/core/useApp/usePlayer/usePlayStatus.ts @@ -46,12 +46,14 @@ export default () => { picUrl: musicInfo.pic ?? '', lyric: musicInfo.lrc ?? '', lyricLineText: '', + lyricLineAllText: '', }) } const handleSetLyric = () => { sendPlayerStatus({ lyric: musicInfo.lrc ?? '', lyricLineText: '', + lyricLineAllText: '', }) } const handleSetPic = () => {