Skip to content

Commit

Permalink
[debug] Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarski committed Sep 16, 2024
1 parent e280ce1 commit 54a8ea7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/shared/utils/src/lib/prevent-default-shortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ export function preventDefaultShortcuts(win: BrowserWindow) {
event.preventDefault()
}

logger.info(`xxxxpreventDefaultShortcuts1.5 control: ${control}`)
logger.info(`xxxxpreventDefaultShortcuts1.5 control: ${meta}`)
logger.info(`xxxxpreventDefaultShortcuts1.5 key: ${key}`)

// Prevent default DevTools shortcut (Ctrl+Shift+I or Cmd+Opt+I) and 'dead' key issue
// This is necessary because removing the menu in Windows/Linux disables the shortcut,
// but on macOS, the shortcut still works. Therefore, we need to explicitly prevent it.
Expand Down

0 comments on commit 54a8ea7

Please sign in to comment.