Update background.js

This commit is contained in:
Troplo 2022-09-03 13:45:18 +10:00
parent 00a7a4a12e
commit 35e63ab15b
1 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,9 @@ async function createWindow() {
contextIsolation: !process.env.ELECTRON_NODE_INTEGRATION,
preload: "window-preload.js",
// required for multi-instance support
webSecurity: false
webSecurity: false,
// Auto-scroll for Linux/MacOS
enableBlinkFeatures: "MiddleClickAutoscroll"
}
})