1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Show devtools always in menu (#559)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2020-07-03 11:13:53 +03:00 committed by GitHub
parent 097776411f
commit 69778d5dcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,16 +152,7 @@ export default function initMenu(opts: MenuOptions, promiseIpc: any) {
webContents.getFocusedWebContents().reload()
}
},
...(isDevelopment ? [
{ role: 'toggleDevTools' } as MenuItemConstructorOptions,
{
accelerator: "CmdOrCtrl+Shift+I",
label: 'Open Dashboard Devtools',
click() {
webContents.getFocusedWebContents().openDevTools()
}
}
] : []),
{ role: 'toggleDevTools' },
{ type: 'separator' },
{ role: 'resetZoom' },
{ role: 'zoomIn' },