Use idiomatic ES6 when merging options
This commit is contained in:
parent
379bd79de4
commit
2d90e763ad
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ const mergeBrowserWindowOptions = function (embedder, options) {
|
||||||
if (win != null) {
|
if (win != null) {
|
||||||
const show = win.isVisible()
|
const show = win.isVisible()
|
||||||
if (typeof show === 'boolean') {
|
if (typeof show === 'boolean') {
|
||||||
parentOptions = {...embedder.browserWindowOptions, show: show}
|
parentOptions = {...embedder.browserWindowOptions, show}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue