Allow clicking on branch arrows to scroll target into view (#302)

This commit is contained in:
LagoLunatic
2025-12-21 11:55:55 -05:00
committed by GitHub
parent 90c93164ab
commit 6ad60de32a
14 changed files with 232 additions and 191 deletions
+1
View File
@@ -539,6 +539,7 @@ impl FunctionDiffUi {
DiffText::Opcode(mnemonic, _op) => format!("{mnemonic} "),
DiffText::Argument(arg) => arg.to_string(),
DiffText::BranchDest(addr) => format!("{addr:x}"),
DiffText::BranchArrow(_) => " ~> ".to_string(),
DiffText::Symbol(sym) => {
sym.demangled_name.as_ref().unwrap_or(&sym.name).clone()
}