mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
🎨
This commit is contained in:
@@ -112,9 +112,7 @@ app.once('ready', () => {
|
||||
},
|
||||
{
|
||||
label: 'Toggle Developer Tools',
|
||||
accelerator: (() => {
|
||||
return (process.platform === 'darwin') ? 'Alt+Command+I' : 'Ctrl+Shift+I'
|
||||
})(),
|
||||
accelerator: process.platform === 'darwin' ? 'Alt+Command+I' : 'Ctrl+Shift+I',
|
||||
click (item, focusedWindow) {
|
||||
if (focusedWindow) focusedWindow.toggleDevTools()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user