From e1646a3127713cbd9451d523caa73c72e7848f90 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Thu, 10 Aug 2023 21:08:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dwindows=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E4=B8=8B=E9=9A=90=E8=97=8F=E7=AA=97=E5=8F=A3=E5=90=8E=E5=86=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=97=B6=E4=BB=BB=E5=8A=A1=E6=A0=8F=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=B8=A2=E5=A4=B1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 1 + src/main/modules/winMain/main.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/publish/changeLog.md b/publish/changeLog.md index f1768311..77794f01 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -18,6 +18,7 @@ - 修复若路径存在 # 字符时,软件无法启动的问题 - 修复搜索框在某些情况下输入内容后搜索时会自动清空的问题(#1472) - 修复某些tx源歌词因数据异常解析失败的问题 +- 修复windows平台下隐藏窗口后再显示时任务栏按钮丢失的问题 ### 其他 diff --git a/src/main/modules/winMain/main.ts b/src/main/modules/winMain/main.ts index c8be0bb1..dfb9fd6c 100644 --- a/src/main/modules/winMain/main.ts +++ b/src/main/modules/winMain/main.ts @@ -50,6 +50,9 @@ const winEvent = () => { browserWindow.on('show', () => { global.lx.event_app.main_window_show() + + // 修复隐藏窗口后再显示时任务栏按钮丢失的问题 + setThumbarButtons() }) browserWindow.on('hide', () => { global.lx.event_app.main_window_hide()