mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-10 06:08:14 -05:00
Fixed: mini window & setting window toggle show or hide status
This commit is contained in:
parent
f494e1486c
commit
0f4901bdbf
@ -76,6 +76,9 @@ function createTray () {
|
|||||||
settingWindow.show()
|
settingWindow.show()
|
||||||
settingWindow.focus()
|
settingWindow.focus()
|
||||||
}
|
}
|
||||||
|
if (miniWindow) {
|
||||||
|
miniWindow.hide()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -449,6 +452,7 @@ ipcMain.on('openMiniWindow', (evt) => {
|
|||||||
createMiniWidow()
|
createMiniWidow()
|
||||||
}
|
}
|
||||||
miniWindow.show()
|
miniWindow.show()
|
||||||
|
miniWindow.focus()
|
||||||
settingWindow.hide()
|
settingWindow.hide()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user