Allow Cmd modifier as alternative to Ctrl, closes #206

This commit is contained in:
ice_iix 2019-08-11 16:15:18 -07:00
parent 095ae1f6ab
commit 9066b19031
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ fn handle_window_event(window: &mut glutin::WindowedContext<glutin::PossiblyCurr
game.server.key_press(true, steven_key);
}
} else {
let ctrl_pressed = input.modifiers.ctrl;
let ctrl_pressed = input.modifiers.ctrl || input.modifiers.logo;
ui_container.key_press(game, key, true, ctrl_pressed);
}
},