Skip to content

Commit

Permalink
a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck committed Oct 11, 2024
1 parent ca77de4 commit 1a7b16d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions app/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ impl BdiffApp {
}

fn handle_hex_view_input(&mut self, ctx: &Context) {
if self.file_views.is_empty() {
return;
}

if ctx.input(|i| i.modifiers.shift) {
// Move selection
self.move_selection(ctx);
Expand Down
2 changes: 1 addition & 1 deletion app/src/symbol_tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl SymbolTool {
}
}

fn load_elf_file(&mut self, path: &std::path::Path) {
fn load_elf_file(&mut self, _path: &std::path::Path) {
self.map_file = None;
// TODO
}
Expand Down

0 comments on commit 1a7b16d

Please sign in to comment.