From 91911d2d3222195c1fa907b99e7f982dc70d318e Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Sat, 30 Apr 2016 17:50:04 +0200 Subject: [PATCH] Fix systemPreferences docs --- docs/api/system-preferences.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/system-preferences.md b/docs/api/system-preferences.md index 8fdd2b5..df7ef89 100644 --- a/docs/api/system-preferences.md +++ b/docs/api/system-preferences.md @@ -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; } -- 2.7.4