mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(key) add Insert for Mac
This commit is contained in:
parent
e93cdced47
commit
fb28514257
1 changed files with 7 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ var CloudCmd, Util, DOM;
|
|||
|
||||
Z : 90,
|
||||
|
||||
INSERT_MAC : 96,
|
||||
|
||||
ASTERISK : 106,
|
||||
PLUS : 107,
|
||||
MINUS : 109,
|
||||
|
|
@ -193,6 +195,11 @@ var CloudCmd, Util, DOM;
|
|||
.setCurrentFile(next);
|
||||
break;
|
||||
|
||||
case Key.INSERT_MAC:
|
||||
DOM .toggleSelectedFile(current)
|
||||
.setCurrentFile(next);
|
||||
break;
|
||||
|
||||
case Key.DELETE:
|
||||
if (shift)
|
||||
DOM.sendDelete();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue