1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-16 11:15:12 +00:00

enable devtools

This commit is contained in:
Dick Choi
2016-06-07 10:48:20 +09:00
parent 187ccaa95e
commit 4299baec5d
2 changed files with 8 additions and 3 deletions

View File

@@ -146,6 +146,14 @@ var view = {
click: function () {
BrowserWindow.getFocusedWindow().reload()
}
},
{
label: 'Toggle Developer Tools',
accelerator: process.platform === 'darwin' ? 'Alt+Command+I' : 'Ctrl+Shift+I',
click(item, focusedWindow) {
if (focusedWindow)
focusedWindow.webContents.toggleDevTools();
}
}
]
}