From 52c0a4fafc3148716cbd03bc8d18aa7379f69ac2 Mon Sep 17 00:00:00 2001 From: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com> Date: Thu, 9 Jun 2022 15:17:27 -0400 Subject: [PATCH] docs: add macOS height option info (#34451) --- docs/tutorial/window-customization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/window-customization.md b/docs/tutorial/window-customization.md index a724c72d3f02..49721f35efb6 100644 --- a/docs/tutorial/window-customization.md +++ b/docs/tutorial/window-customization.md @@ -115,7 +115,7 @@ const win = new BrowserWindow({ }) ``` -On Windows, you can also specify additional parameters. The color of the overlay and its symbols can be specified by setting `titleBarOverlay` to an object and using the `color` and `symbolColor` properties respectively. The height of the overlay can also be specified with the `height` property. +On either platform `titleBarOverlay` can also be an object. On both macOS and Windows, the height of the overlay can be specified with the `height` property. On Windows, the color of the overlay and its symbols can be specified using the `color` and `symbolColor` properties respectively. If a color option is not specified, the color will default to its system color for the window control buttons. Similarly, if the height option is not specified it will default to the default height: