From 0b985d88acf5ddc60fdd7b56ee7132bd9617ea89 Mon Sep 17 00:00:00 2001 From: "electron-website-docs-updater[bot]" <166660481+electron-website-docs-updater[bot]@users.noreply.github.com> Date: Tue, 10 Sep 2024 08:13:06 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20update=20ref=20to=20docs=20(?= =?UTF-8?q?=F0=9F=A4=96)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/latest/tutorial/window-customization.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/latest/tutorial/window-customization.md b/docs/latest/tutorial/window-customization.md index 6a26869..970e3ba 100644 --- a/docs/latest/tutorial/window-customization.md +++ b/docs/latest/tutorial/window-customization.md @@ -104,7 +104,7 @@ The [Window Controls Overlay API][] is a web standard that gives web apps the ab customize their title bar region when installed on desktop. Electron exposes this API through the `BrowserWindow` constructor option `titleBarOverlay`. -This option only works whenever a custom `titlebarStyle` is applied on macOS or Windows. +This option only works whenever a custom `titlebarStyle` is applied. When `titleBarOverlay` is enabled, the window controls become exposed in their default position, and DOM elements cannot use the area underneath this region. @@ -114,7 +114,6 @@ Specifying `true` on either platform will result in an overlay region with defau system colors: ```js title='main.js' -// on macOS or Windows const { BrowserWindow } = require('electron') const win = new BrowserWindow({ titleBarStyle: 'hidden',