Map webContents.delete to role
This commit is contained in:
parent
4ded709307
commit
03434f45bb
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ rolesMap = {
|
|||
paste: 'paste',
|
||||
selectall: 'selectAll',
|
||||
minimize: 'minimize',
|
||||
close: 'close'
|
||||
close: 'close',
|
||||
delete: 'delete'
|
||||
};
|
||||
|
||||
// Maps methods that should be called directly on the BrowserWindow instance
|
||||
|
|
Loading…
Reference in a new issue