修复windows平台下隐藏窗口后再显示时任务栏按钮丢失的问题

pull/1583/head
lyswhut 2023-08-10 21:08:16 +08:00
parent 0fc1de9f29
commit e1646a3127
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,7 @@
- 修复若路径存在 # 字符时,软件无法启动的问题 - 修复若路径存在 # 字符时,软件无法启动的问题
- 修复搜索框在某些情况下输入内容后搜索时会自动清空的问题(#1472 - 修复搜索框在某些情况下输入内容后搜索时会自动清空的问题(#1472
- 修复某些tx源歌词因数据异常解析失败的问题 - 修复某些tx源歌词因数据异常解析失败的问题
- 修复windows平台下隐藏窗口后再显示时任务栏按钮丢失的问题
### 其他 ### 其他

View File

@ -50,6 +50,9 @@ const winEvent = () => {
browserWindow.on('show', () => { browserWindow.on('show', () => {
global.lx.event_app.main_window_show() global.lx.event_app.main_window_show()
// 修复隐藏窗口后再显示时任务栏按钮丢失的问题
setThumbarButtons()
}) })
browserWindow.on('hide', () => { browserWindow.on('hide', () => {
global.lx.event_app.main_window_hide() global.lx.event_app.main_window_hide()