mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-19 09:55:28 +00:00
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:
@@ -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());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user