@lvce-editor/main-process 6.46.0 → 6.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mainProcessMain.js +3 -0
- package/package.json +1 -1
package/dist/mainProcessMain.js
CHANGED
|
@@ -7313,6 +7313,9 @@ const createWebContentsViewForWindow = (browserWindow, options = {}) => {
|
|
|
7313
7313
|
}),
|
|
7314
7314
|
webPreferences: {
|
|
7315
7315
|
...options.webPreferences,
|
|
7316
|
+
// Tab selection controls focus. A hidden background tab must not steal it
|
|
7317
|
+
// when Electron commits its navigation while the view remains attached.
|
|
7318
|
+
focusOnNavigation: false,
|
|
7316
7319
|
session: getSession()
|
|
7317
7320
|
}
|
|
7318
7321
|
});
|