mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 15:46:28 +08:00
fix(keymap): stop shift callbacks too
This commit is contained in:
parent
de3070cd86
commit
62ee42476f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ Gmail's "x", while allowing standard hotkeys.)
|
|||
mousetrap.prototype.stopCallback = (e, element, combo, sequence) ->
|
||||
withinTextInput = element.tagName == 'INPUT' || element.tagName == 'SELECT' || element.tagName == 'TEXTAREA' || element.isContentEditable
|
||||
if withinTextInput
|
||||
return /(mod|shift|command|ctrl)/.test(combo) is false
|
||||
return /(mod|command|ctrl)/.test(combo) is false
|
||||
return false
|
||||
|
||||
class KeymapManager
|
||||
|
|
Loading…
Reference in a new issue