API.md: fix link to Electron Frameless Window (fix #1382)

This commit is contained in:
Ronan Jouchet 2022-05-19 23:04:00 -04:00
parent 4c6d0b185b
commit 59a4bb87f9
1 changed files with 1 additions and 1 deletions

2
API.md
View File

@ -476,7 +476,7 @@ Prevents application from being run multiple times. If such an attempt occurs th
--title-bar-style <value>
```
_[New in 7.6.4]_ (macOS only) Sets the style for the app's title bar. See more details at electron's [Frameless Window](https://github.com/electron/electron/blob/master/docs/api/frameless-window.md#alternatives-on-macos) documentation.
_[New in 7.6.4]_ (macOS only) Sets the style for the app's title bar. See more details at electron's [Frameless Window](https://www.electronjs.org/pt/docs/latest/api/frameless-window) documentation.
Consider injecting a custom CSS (via `--inject`) for better integration. Specifically, the CSS should specify a draggable region. For instance, if the target website has a `<header>` element, you can make it draggable like so.