mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-17 16:10:05 +00:00
Add "Alt" possibility for keyboard shortcuts in gui.xml.
This commit is contained in:
parent
39e7fc5fea
commit
b01ebedbd8
@ -101,11 +101,14 @@ static void proc_one_word(JAccel accel, char* word)
|
||||
|
||||
for (tok=ustrtok(word, "+"); tok;
|
||||
tok=ustrtok(NULL, "+")) {
|
||||
// key_shifts
|
||||
// modifiers
|
||||
|
||||
if (ustricmp (tok, "Shift") == 0) {
|
||||
shifts |= KB_SHIFT_FLAG;
|
||||
}
|
||||
else if (ustricmp (tok, "Alt") == 0) {
|
||||
shifts |= KB_ALT_FLAG;
|
||||
}
|
||||
else if (ustricmp (tok, "Ctrl") == 0) {
|
||||
shifts |= KB_CTRL_FLAG;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user