зеркало из https://github.com/electron/electron.git
docs: fix erroneous removal warning for decrementCapturerCount (#36016)
This commit is contained in:
Родитель
ce138fe969
Коммит
dc5d27a73b
|
@ -103,7 +103,7 @@ w.capturePage().then(image => {
|
|||
})
|
||||
```
|
||||
|
||||
### Removed: `webContents.decrementCapturerCount(stayHidden, stayAwake)`
|
||||
### Deprecated: `webContents.decrementCapturerCount(stayHidden, stayAwake)`
|
||||
|
||||
`webContents.decrementCapturerCount(stayHidden, stayAwake)` has been deprecated.
|
||||
It is now automatically handled by `webContents.capturePage` when a page capture completes.
|
||||
|
|
Загрузка…
Ссылка в новой задаче