Don't map command to ctrl
We no longer what this behavior because it's confusing unless you understand that atom-shell does this.
This commit is contained in:
parent
6c0621fe05
commit
113d644615
1 changed files with 0 additions and 6 deletions
|
@ -108,13 +108,7 @@ bool StringToAccelerator(const std::string& description,
|
|||
} else if (tokens[i] == "ctrl") {
|
||||
modifiers |= ui::EF_CONTROL_DOWN;
|
||||
} else if (tokens[i] == "command") {
|
||||
// The "Command" would be translated to "Ctrl" on platforms other than
|
||||
// OS X.
|
||||
#if defined(OS_MACOSX)
|
||||
modifiers |= ui::EF_COMMAND_DOWN;
|
||||
#else
|
||||
modifiers |= ui::EF_CONTROL_DOWN;
|
||||
#endif
|
||||
} else if (tokens[i] == "alt") {
|
||||
modifiers |= ui::EF_ALT_DOWN;
|
||||
} else if (tokens[i] == "shift") {
|
||||
|
|
Loading…
Reference in a new issue