Fix systemPreferences docs

This commit is contained in:
Milan Burda 2016-04-30 17:50:04 +02:00
parent 03ce8a195a
commit 91911d2d32

View file

@ -59,7 +59,7 @@ not (transparent windows won't work correctly when DWM composition is disabled):
let browserOptions = {width: 1000, height: 800};
// 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.frame = false;
}