mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 04:56:00 +00:00
support for meta (command) key #199
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
let keyText = '';
|
||||
if (e.ctrlKey) keyText += 'Ctrl+';
|
||||
if (e.shiftKey) keyText += 'Shift+';
|
||||
if (e.metaKey) keyText += 'Command+';
|
||||
if (e.altKey) keyText += 'Alt+';
|
||||
if (e.key != 'Control' && e.key != 'Alt' && e.key != 'Shift') {
|
||||
keyText += _.upperFirst(e.key);
|
||||
|
||||
Reference in New Issue
Block a user