🎨 工作空间多开,主题设置互补干扰

This commit is contained in:
Vanessa 2023-01-06 22:50:11 +08:00
parent af2d3ade5e
commit 19b7e3aad6
5 changed files with 73 additions and 87 deletions

View file

@ -20,7 +20,6 @@ const {
shell,
Menu,
screen,
nativeTheme,
ipcMain,
globalShortcut,
Tray,
@ -642,9 +641,6 @@ app.whenReady().then(() => {
}
mainWindow.focus()
})
ipcMain.on('siyuan-config-theme', (event, theme) => {
nativeTheme.themeSource = theme
})
ipcMain.on('siyuan-config-tray', (event, data) => {
workspaces.find(item => {
if (item.id === data.id) {