From 05a429075e83a971442e38bad8c635a772b88609 Mon Sep 17 00:00:00 2001 From: "trop[bot]" Date: Mon, 24 Sep 2018 09:40:00 -0700 Subject: [PATCH] docs: clarify allowable background colors for BrowserWindow transparency (backport: 3-0-x) (#14781) * docs: clarify allowable colors for transparency * fix alpha value specification --- docs/api/browser-window.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index bf3fea3b554d..42ef516c08d3 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -202,7 +202,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`. than screen. Default is `false`. * `backgroundColor` String (optional) - Window's background color as a hexadecimal value, like `#66CD00` or `#FFF` or `#80FFFFFF` (alpha is supported). Default is - `#FFF` (white). + `#FFF` (white). If `transparent` is set to `true`, only values with transparent (`#00-------`) or opaque (`#FF-----`) alpha values are respected. * `hasShadow` Boolean (optional) - Whether window should have a shadow. This is only implemented on macOS. Default is `true`. * `opacity` Number (optional) - Set the initial opacity of the window, between 0.0 (fully