From fde310f50d9a427eaebe6439a35e6a46e995780e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 3 Mar 2017 14:04:55 -0800 Subject: [PATCH] Mention it only effects 10.12.1 with touch bar --- docs/api/browser-window.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 677e2a773ba7..398dd3b74649 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -1271,7 +1271,8 @@ will remove the vibrancy effect on the window. * `touchBar` TouchBar Sets the touchBar layout for the current window. Specifying `null` or -`undefined` clears the touch bar. +`undefined` clears the touch bar. This method only has an effect if the +machine has a touch bar and is running on macOS 10.12.1+. [blink-feature-string]: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5?l=62 [quick-look]: https://en.wikipedia.org/wiki/Quick_Look