From f7a2d9fd068d7b5155041d0ef94e66e93dc2f196 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 29 Mar 2023 12:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=AF=E7=94=A8=E6=A1=8C=E9=9D=A2=E6=AD=8C?= =?UTF-8?q?=E8=AF=8D=E6=97=B6=EF=BC=8C=E5=8F=96=E6=B6=88=E5=AF=B9=E6=AD=8C?= =?UTF-8?q?=E8=AF=8D=E7=AA=97=E5=8F=A3=E7=9A=84=E8=81=9A=E7=84=A6=EF=BC=88?= =?UTF-8?q?#1273=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 1 + src/main/modules/winLyric/main.ts | 1 + src/renderer-lyric/index.html | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) 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 @@ - + + - 桌面歌词-洛雪音乐助手 - +