mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-17 17:05:29 +00:00
Unify context menu / hover tooltip code + UI improvements
This commit is contained in:
@@ -43,7 +43,7 @@ use crate::{
|
||||
graphics::{graphics_window, GraphicsConfig, GraphicsViewState},
|
||||
jobs::{jobs_menu_ui, jobs_window},
|
||||
rlwinm::{rlwinm_decode_window, RlwinmDecodeViewState},
|
||||
symbol_diff::{DiffViewAction, DiffViewNavigation, DiffViewState, View},
|
||||
symbol_diff::{DiffViewAction, DiffViewState, ResolvedNavigation, View},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -762,7 +762,7 @@ impl eframe::App for App {
|
||||
ui.separator();
|
||||
if ui.button("Clear custom symbol mappings").clicked() {
|
||||
state.clear_mappings();
|
||||
diff_state.post_build_nav = Some(DiffViewNavigation::symbol_diff());
|
||||
diff_state.post_build_nav = Some(ResolvedNavigation::default());
|
||||
state.queue_reload = true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user