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

This commit is contained in:
lyswhut
2023-08-10 21:08:16 +08:00
parent 0fc1de9f29
commit e1646a3127
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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()