Display decoded rlwinm info to hover tooltip (#141)

* Fix missing dependency feature for objdiff-gui

* Update .gitignore

* Display decoded rlwinm info to hover tooltip

* Remove trailing newline when displaying decoded rlwinm info

* Change variable name

* Also update variable name in rlwinm.rs
This commit is contained in:
LagoLunatic
2024-12-02 23:40:05 -05:00
committed by GitHub
parent 7aa878b48e
commit 304df96411
4 changed files with 9 additions and 5 deletions

View File

@@ -149,6 +149,10 @@ fn ins_hover_ui(
ui.colored_label(appearance.highlight_color, "Extern".to_string());
}
}
if let Some(decoded) = rlwinmdec::decode(&ins.formatted) {
ui.colored_label(appearance.highlight_color, decoded.trim());
}
});
}