add keybind for saving
This commit is contained in:
parent
dbb478f9ec
commit
8425e89254
2 changed files with 7 additions and 3 deletions
|
@ -25,6 +25,7 @@ pub enum ActionId {
|
|||
Paste,
|
||||
Erase,
|
||||
ToggleMenu,
|
||||
Save,
|
||||
StartSim,
|
||||
StopSim,
|
||||
StepSim,
|
||||
|
@ -65,6 +66,7 @@ impl Default for Input {
|
|||
bind_key(ActionId::Paste, vec![LCtrl], V);
|
||||
bind_key(ActionId::Erase, vec![], Backspace);
|
||||
bind_key(ActionId::ToggleMenu, vec![], Escape);
|
||||
bind_key(ActionId::Save, vec![LCtrl], S);
|
||||
bind_key(ActionId::StartSim, vec![], Enter);
|
||||
bind_key(ActionId::StopSim, vec![], Enter);
|
||||
bind_key(ActionId::StepSim, vec![], Space);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue