fix: WCO occlusion of DevTools (#35209)

This commit is contained in:
Shelley Vohr 2022-08-11 15:16:12 +02:00 committed by GitHub
parent eab7ab2c47
commit 4d54cadb28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -1568,6 +1568,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.