mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-30 17:15:16 +01:00
fix: Disable renderer backgrounding of chromium
This commit is contained in:
parent
e0c4953c2f
commit
7fb3dfeb3b
@ -224,6 +224,9 @@ function createWindow () {
|
||||
})
|
||||
}
|
||||
|
||||
// Do not lower the rendering priority of Chromium when background
|
||||
app.commandLine.appendSwitch('disable-renderer-backgrounding')
|
||||
|
||||
app.on('ready', createWindow)
|
||||
|
||||
app.on('window-all-closed', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user