mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Use CTRL+SHIFT+I for toggling devtools, fix #2205
This commit is contained in:
@@ -237,7 +237,7 @@ app.once('ready', function() {
|
||||
},
|
||||
{
|
||||
label: 'Toggle &Developer Tools',
|
||||
accelerator: 'Alt+Ctrl+I',
|
||||
accelerator: 'Shift+Ctrl+I',
|
||||
click: function() {
|
||||
var focusedWindow = BrowserWindow.getFocusedWindow();
|
||||
if (focusedWindow)
|
||||
|
||||
@@ -82,7 +82,7 @@ var mainWindow = null;
|
||||
|
||||
// Quit when all windows are closed.
|
||||
app.on('window-all-closed', function() {
|
||||
// On OSX it is common for applications and their menu bar
|
||||
// On OSX it is common for applications and their menu bar
|
||||
// to stay active until the user quits explicitly with Cmd + Q
|
||||
if (process.platform != 'darwin') {
|
||||
app.quit();
|
||||
|
||||
Reference in New Issue
Block a user