fix: WCO occlusion of DevTools (#35688)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot]
2022-09-15 19:06:18 +02:00
committed by GitHub
parent a2c687fcc3
commit cbf5843c9a
2 changed files with 11 additions and 0 deletions

View File

@@ -1626,6 +1626,8 @@ Opens the devtools.
When `contents` is a `<webview>` tag, the `mode` would be `detach` by default,
explicitly passing an empty `mode` can force using last used dock state.
On Windows, if Windows Control Overlay is enabled, Devtools will be opened with `mode: 'detach'`.
#### `contents.closeDevTools()`
Closes the devtools.