Use getBitmap in docs
This commit is contained in:
parent
1be253e1aa
commit
7173d8b01b
2 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ app.once('ready', () => {
|
|||
})
|
||||
win.loadURL('http://github.com')
|
||||
win.webContents.on('paint', (event, dirty, image) => {
|
||||
// updateBitmap(dirty, image.toBitmap())
|
||||
// updateBitmap(dirty, image.getBitmap())
|
||||
})
|
||||
win.webContents.setFrameRate(30)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue