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:
1 parent
097776411f
commit
69778d5dcc
1 file changed
+1
-10
+1
-10
@@ -152,16 +152,7 @@ export default function initMenu(opts: MenuOptions, promiseIpc: any) {
|
|||||||
webContents.getFocusedWebContents().reload()
|
webContents.getFocusedWebContents().reload()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
...(isDevelopment ? [
|
{ role: 'toggleDevTools' },
|
||||||
{ role: 'toggleDevTools' } as MenuItemConstructorOptions,
|
|
||||||
{
|
|
||||||
accelerator: "CmdOrCtrl+Shift+I",
|
|
||||||
label: 'Open Dashboard Devtools',
|
|
||||||
click() {
|
|
||||||
webContents.getFocusedWebContents().openDevTools()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
] : []),
|
|
||||||
{ type: 'separator' },
|
{ type: 'separator' },
|
||||||
{ role: 'resetZoom' },
|
{ role: 'resetZoom' },
|
||||||
{ role: 'zoomIn' },
|
{ role: 'zoomIn' },
|
||||||
|
|||||||
Reference in new issue
Block a user