From 2c428ef099337eea8e4a10b5940d83c1a9aa6e02 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 21 Mar 2025 09:15:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=8F=E5=B0=91=E6=A1=8C=E9=9D=A2=E6=AD=8C?= =?UTF-8?q?=E8=AF=8D=E7=AA=97=E5=8F=A3=E8=87=AA=E5=8A=A8=E7=BD=AE=E9=A1=B6?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E9=97=B4=E9=9A=94=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E8=A2=AB=E9=81=AE=E6=8C=A1=E6=97=B6=E6=AD=8C?= =?UTF-8?q?=E8=AF=8D=E4=BC=9A=E8=A2=AB=E6=9A=82=E5=81=9C=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=88#2320=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 | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index cc15cddf..a9bb92b2 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -12,6 +12,7 @@ - 修复潜在播放暂停的问题 - 修复 kw 歌单详情出现打开失败的问题(#2317) - 修复 kg 热门评论无法获取的问题 +- 修复桌面歌词被遮挡时会被暂停的问题(#2320) ### 优化 diff --git a/src/main/modules/winLyric/main.ts b/src/main/modules/winLyric/main.ts index 68c5ed66..2b1faeb7 100644 --- a/src/main/modules/winLyric/main.ts +++ b/src/main/modules/winLyric/main.ts @@ -138,6 +138,7 @@ export const createWindow = () => { enableWebSQL: false, webgl: false, spellcheck: false, // 禁用拼写检查器 + backgroundThrottling: false, }, }) @@ -224,7 +225,7 @@ export const alwaysOnTopTools: AlwaysOnTopTools = { return } setAlwaysOnTop(true, 'screen-saver') - }, 1000) + }, 500) }, clearLoop() { if (!this.timeout) return