Skip to content

Commit

Permalink
Move rdev key, button to unified "InputKey"
Browse files Browse the repository at this point in the history
  • Loading branch information
samclane committed Sep 24, 2024
1 parent 14eb1a6 commit 158f15a
Show file tree
Hide file tree
Showing 2 changed files with 169 additions and 171 deletions.
4 changes: 2 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,9 @@ impl MantleApp {
ui.separator();
ui.label("Shortcut");
});
for shortcut in self.input_listener.get_active_items() {
for shortcut in self.input_listener.get_active_shortcuts() {
ui.horizontal(|ui| {
ui.label(format!("{:?}", shortcut.name));
ui.label(format!("{:?}", shortcut.shortcut));
ui.separator();
ui.label(format!("{:?}", shortcut.callback_name));
});
Expand Down
Loading

0 comments on commit 158f15a

Please sign in to comment.