devtools are now opened with alt-cmd-I

This commit is contained in:
antelle 2019-09-14 14:07:56 +02:00
parent 1b2f83ea80
commit 3859beb543
3 changed files with 9 additions and 3 deletions

View File

@ -7,7 +7,7 @@ const shortcutKeyProp = navigator.platform.indexOf('Mac') >= 0 ? 'metaKey' : 'ct
const KeyHandler = {
SHORTCUT_ACTION: 1,
SHORTCUT_OPT: 2,
SHORTCUT_SHIFT: 3,
SHORTCUT_SHIFT: 4,
shortcuts: {},
modal: false,

View File

@ -97,7 +97,12 @@ const AppView = Backbone.View.extend({
KeyHandler.onKey(Keys.DOM_VK_ESCAPE, this.escPressed, this);
KeyHandler.onKey(Keys.DOM_VK_BACK_SPACE, this.backspacePressed, this);
KeyHandler.onKey(Keys.DOM_VK_F12, this.openDevTools, this, KeyHandler.SHORTCUT_ACTION);
KeyHandler.onKey(
Keys.DOM_VK_I,
this.openDevTools,
this,
KeyHandler.SHORTCUT_ACTION + KeyHandler.SHORTCUT_OPT
);
setInterval(this.syncAllByTimer.bind(this), Timeouts.AutoSync);

View File

@ -5,7 +5,8 @@ Release notes
`+` #107: multiline custom fields support
`+` #1243: auto-type any field
`+` #1255: file format version and kdf selection in settings
`-` #502: increased the default value of encryption rounds
`*` #502: increased the default value of encryption rounds
`*` devtools are now opened with alt-cmd-I
`-` fix #764: multiple attachments display
`-` fix multi-line fields display in history
`-` fix #554: checking active window id during auto-type