mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Add "CommandOrControl" to represent "Command" on OS X and "Ctrl" on other platforms.
This commit is contained in:
@@ -23,4 +23,7 @@
|
||||
|
||||
## Notes on accelerator
|
||||
|
||||
On Linux and Windows, the `Command` key would not have any effect.
|
||||
On Linux and Windows, the `Command` key would not have any effect, you can
|
||||
use `CommandOrControl` which represents `Command` on OS X and `Control` on
|
||||
Linux and Windows to define some accelerators, you can also use its short
|
||||
alias `CmdOrCtrl`.
|
||||
|
||||
Reference in New Issue
Block a user