修复窗口还原时闪烁的问题
parent
76b3b3b23d
commit
2e84788d53
|
@ -30,6 +30,8 @@ app.on('web-contents-created', (event, contents) => {
|
|||
})
|
||||
})
|
||||
|
||||
// https://github.com/electron/electron/issues/22691
|
||||
app.commandLine.appendSwitch('wm-window-animations-disabled')
|
||||
|
||||
// https://github.com/electron/electron/issues/18397
|
||||
app.allowRendererProcessReuse = !isDev
|
||||
|
|
Loading…
Reference in New Issue