mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Allow "Space" in accelerator.
This commit is contained in:
@@ -132,6 +132,8 @@ bool StringToAccelerator(const std::string& description,
|
||||
modifiers |= ui::EF_SHIFT_DOWN;
|
||||
} else if (tokens[i] == "tab") {
|
||||
key = ui::VKEY_TAB;
|
||||
} else if (tokens[i] == "space") {
|
||||
key = ui::VKEY_SPACE;
|
||||
} else if (tokens[i] == "backspace") {
|
||||
key = ui::VKEY_BACK;
|
||||
} else if (tokens[i] == "delete") {
|
||||
|
||||
Reference in New Issue
Block a user