MenuItem roles camelCase-compatible
This commit is contained in:
parent
a161f6e368
commit
d45914c3f7
5 changed files with 30 additions and 27 deletions
|
@ -162,7 +162,7 @@ const roles = {
|
|||
}
|
||||
},
|
||||
// Edit submenu (should fit both Mac & Windows)
|
||||
editMenu: {
|
||||
editmenu: {
|
||||
label: 'Edit',
|
||||
submenu: [
|
||||
{
|
||||
|
@ -185,7 +185,7 @@ const roles = {
|
|||
},
|
||||
|
||||
process.platform === 'darwin' ? {
|
||||
role: 'pasteandmatchstyle'
|
||||
role: 'pasteAndMatchStyle'
|
||||
} : null,
|
||||
|
||||
{
|
||||
|
@ -197,13 +197,13 @@ const roles = {
|
|||
} : null,
|
||||
|
||||
{
|
||||
role: 'selectall'
|
||||
role: 'selectAll'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// Window submenu should be used for Mac only
|
||||
windowMenu: {
|
||||
windowmenu: {
|
||||
label: 'Window',
|
||||
submenu: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue