mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Bugfix: '`' backtick shortcut being dead key
* remove 'Insert' key from class Selector and bugfix Selector ' ' space. * replace 'M' (move) shortcut with 'Insert' (like: insert into) * '`' backtick being dead key shortcut with 'M' and 'ContextMenu' keys.
This commit is contained in:
parent
e0f5849de6
commit
4177467f81
8 changed files with 70 additions and 112 deletions
|
|
@ -9,7 +9,7 @@ const
|
|||
toArray = v => Array.isArray(v) ? v : v.split(/\s*,\s*/),
|
||||
|
||||
keydown = event => {
|
||||
let key = (event.key || event.code || '').toLowerCase(),
|
||||
let key = (event.key || event.code || '').toLowerCase().replace(' ','space'),
|
||||
scopes = [];
|
||||
scope[key] && scopes.push(scope[key]);
|
||||
_scope !== 'all' && _scopes.all[key] && scopes.push(_scopes.all[key]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue