Merge pull request #5360 from miniak/patch-1
Fix systemPreferences docs
This commit is contained in:
commit
c48598a5bc
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ not (transparent windows won't work correctly when DWM composition is disabled):
|
||||||
let browserOptions = {width: 1000, height: 800};
|
let browserOptions = {width: 1000, height: 800};
|
||||||
|
|
||||||
// Make the window transparent only if the platform supports it.
|
// Make the window transparent only if the platform supports it.
|
||||||
if (process.platform !== 'win32' || app.isAeroGlassEnabled()) {
|
if (process.platform !== 'win32' || systemPreferences.isAeroGlassEnabled()) {
|
||||||
browserOptions.transparent = true;
|
browserOptions.transparent = true;
|
||||||
browserOptions.frame = false;
|
browserOptions.frame = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue