diff --git a/build/profile_toolchain.py b/build/profile_toolchain.py index f2ef85e1cab0..e3da6edd3077 100755 --- a/build/profile_toolchain.py +++ b/build/profile_toolchain.py @@ -45,7 +45,7 @@ def windows_profile(): win_sdk_dir = SetEnvironmentAndGetSDKDir() path = NormalizePath(os.environ['GYP_MSVS_OVERRIDE_PATH']) - # since current windows executable are symbols path dependant, + # since current windows executable are symbols path dependent, # profile the current directory too return { 'pwd': os.getcwd(), diff --git a/docs/fiddles/features/window-customization/custom-title-bar/custom-drag-region/main.js b/docs/fiddles/features/window-customization/custom-title-bar/custom-drag-region/main.js index b862cdf9702f..e389551db7fd 100644 --- a/docs/fiddles/features/window-customization/custom-title-bar/custom-drag-region/main.js +++ b/docs/fiddles/features/window-customization/custom-title-bar/custom-drag-region/main.js @@ -4,7 +4,7 @@ function createWindow () { const win = new BrowserWindow({ // remove the default titlebar titleBarStyle: 'hidden', - // expose window controlls in Windows/Linux + // expose window controls in Windows/Linux ...(process.platform !== 'darwin' ? { titleBarOverlay: true } : {}) }) diff --git a/docs/fiddles/features/window-customization/custom-title-bar/custom-title-bar/main.js b/docs/fiddles/features/window-customization/custom-title-bar/custom-title-bar/main.js index b862cdf9702f..e389551db7fd 100644 --- a/docs/fiddles/features/window-customization/custom-title-bar/custom-title-bar/main.js +++ b/docs/fiddles/features/window-customization/custom-title-bar/custom-title-bar/main.js @@ -4,7 +4,7 @@ function createWindow () { const win = new BrowserWindow({ // remove the default titlebar titleBarStyle: 'hidden', - // expose window controlls in Windows/Linux + // expose window controls in Windows/Linux ...(process.platform !== 'darwin' ? { titleBarOverlay: true } : {}) }) diff --git a/docs/fiddles/features/window-customization/custom-title-bar/native-window-controls/main.js b/docs/fiddles/features/window-customization/custom-title-bar/native-window-controls/main.js index fc59d41ca110..9fb18cb4816a 100644 --- a/docs/fiddles/features/window-customization/custom-title-bar/native-window-controls/main.js +++ b/docs/fiddles/features/window-customization/custom-title-bar/native-window-controls/main.js @@ -4,7 +4,7 @@ function createWindow () { const win = new BrowserWindow({ // remove the default titlebar titleBarStyle: 'hidden', - // expose window controlls in Windows/Linux + // expose window controls in Windows/Linux ...(process.platform !== 'darwin' ? { titleBarOverlay: true } : {}) }) win.loadURL('https://example.com') diff --git a/docs/tutorial/custom-title-bar.md b/docs/tutorial/custom-title-bar.md index 9f9966eaf195..eb22162cf57e 100644 --- a/docs/tutorial/custom-title-bar.md +++ b/docs/tutorial/custom-title-bar.md @@ -5,7 +5,7 @@ Application windows have a default [chrome][] applied by the OS. Not to be confused with the Google Chrome browser, window _chrome_ refers to the parts of the window (e.g. title bar, toolbars, controls) that are not a part of the main web content. While the -default title bar provided by the OS chrome is sufficent for simple use cases, many +default title bar provided by the OS chrome is sufficient for simple use cases, many applications opt to remove it. Implementing a custom title bar can help your application feel more modern and consistent across platforms. diff --git a/docs/tutorial/custom-window-styles.md b/docs/tutorial/custom-window-styles.md index 0dd641ce6162..8e4503cbb5cc 100644 --- a/docs/tutorial/custom-window-styles.md +++ b/docs/tutorial/custom-window-styles.md @@ -19,7 +19,7 @@ To create a frameless window, set the [`BaseWindowContructorOptions`][] `frame` To create a fully transparent window, set the [`BaseWindowContructorOptions`][] `transparent` param in the `BrowserWindow` constructor to `true`. -The following fiddle takes advantage of a tranparent window and CSS styling to create +The following fiddle takes advantage of a transparent window and CSS styling to create the illusion of a circular window. ```fiddle docs/fiddles/features/window-customization/custom-window-styles/transparent-windows