diff --git a/publish/changeLog.md b/publish/changeLog.md index abf9f58e..f77071ca 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,6 +1,7 @@ ### 优化 - 优化对系统Media Session的支持,现在切歌不会再会导致信息丢失的问题了 +- 启用桌面歌词时,取消对歌词窗口的聚焦 ### 修复 diff --git a/src/main/modules/winLyric/main.ts b/src/main/modules/winLyric/main.ts index 94200ca7..6c88e7ce 100644 --- a/src/main/modules/winLyric/main.ts +++ b/src/main/modules/winLyric/main.ts @@ -81,6 +81,7 @@ const winEvent = () => { // browserWindow!.setAlwaysOnTop(global.lx.appSetting['desktopLyric.isAlwaysOnTop'], 'screen-saver') // } if (global.lx.appSetting['desktopLyric.isAlwaysOnTop'] && global.lx.appSetting['desktopLyric.isAlwaysOnTopLoop']) alwaysOnTopTools.startLoop() + browserWindow!.blur() }) } diff --git a/src/renderer-lyric/index.html b/src/renderer-lyric/index.html index 2622d00e..60239e38 100644 --- a/src/renderer-lyric/index.html +++ b/src/renderer-lyric/index.html @@ -1,11 +1,11 @@ - + + - 桌面歌词-洛雪音乐助手 - +