dialog 2
This commit is contained in:
@@ -85,11 +85,11 @@ impl EventHandler {
|
|||||||
// Check general bindings for dialog actions
|
// Check general bindings for dialog actions
|
||||||
if let Some(action) = config.get_general_action(key.code, key.modifiers) {
|
if let Some(action) = config.get_general_action(key.code, key.modifiers) {
|
||||||
match action {
|
match action {
|
||||||
"next_option" => {
|
"move_down" => {
|
||||||
app_state.next_dialog_button();
|
app_state.next_dialog_button();
|
||||||
return Ok(EventOutcome::Ok(String::new())); // Consume event
|
return Ok(EventOutcome::Ok(String::new())); // Consume event
|
||||||
}
|
}
|
||||||
"previous_option" => {
|
"move_up" => {
|
||||||
app_state.previous_dialog_button();
|
app_state.previous_dialog_button();
|
||||||
return Ok(EventOutcome::Ok(String::new())); // Consume event
|
return Ok(EventOutcome::Ok(String::new())); // Consume event
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user