Merge pull request #236 from LagoLunatic/symbol-ctx

Fix context menu not appearing when right clicking the function name in the function diff view
This commit is contained in:
LagoLunatic 2025-08-11 17:28:26 -04:00 committed by GitHub
commit 4c3f5e9836
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -619,9 +619,7 @@ fn symbol_label_ui(
.font(appearance.code_font.clone()) .font(appearance.code_font.clone())
.color(appearance.highlight_color), .color(appearance.highlight_color),
) )
.selectable(false) .show_tooltip_when_elided(false)
// TODO .show_tooltip_when_elided(false)
// https://github.com/emilk/egui/commit/071e090e2b2601e5ed4726a63a753188503dfaf2
.ui(ui) .ui(ui)
.on_hover_ui_at_pointer(|ui| symbol_hover_ui(ui, ctx, symbol_idx, appearance)) .on_hover_ui_at_pointer(|ui| symbol_hover_ui(ui, ctx, symbol_idx, appearance))
.context_menu(|ui| { .context_menu(|ui| {