mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 工作空间多开,主题设置互补干扰
This commit is contained in:
parent
af2d3ade5e
commit
19b7e3aad6
5 changed files with 73 additions and 87 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue