Group related code

This commit is contained in:
Hanno Braun 2024-12-12 23:17:26 +01:00
parent a260993342
commit 788af1edc3

View File

@ -99,12 +99,12 @@ impl ApplicationHandler for App {
}
match logical_key {
Key::Named(NamedKey::ArrowDown) => {
self.view.parent_of_selected_mut().select_next();
}
Key::Named(NamedKey::ArrowRight) => {
self.view.selected_mut().select_last();
}
Key::Named(NamedKey::ArrowDown) => {
self.view.parent_of_selected_mut().select_next();
}
Key::Named(NamedKey::ArrowUp) => {
self.view.parent_of_selected_mut().select_previous();
}