mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-23 13:01:25 -08:00
feat: open developer tool detach to prevent overlap
This commit is contained in:
parent
fb6e895710
commit
cf87bf7bef
3 changed files with 2 additions and 4 deletions
|
|
@ -258,7 +258,7 @@ export class WorkspaceView implements IWorkspaceViewService {
|
|||
{
|
||||
label: () => i18n.t('Menu.DeveloperToolsActiveWorkspace'),
|
||||
accelerator: 'CmdOrCtrl+Option+I',
|
||||
click: async () => (await this.viewService.getActiveBrowserView())?.webContents?.openDevTools(),
|
||||
click: async () => (await this.viewService.getActiveBrowserView())?.webContents?.openDevTools?.({ mode: 'detach' }),
|
||||
enabled: hasWorkspaces,
|
||||
},
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue