fix(gpui_widgets): submenu hover opens nested popup; add icons + tooltip helpers

- MenuBar: mouse hover now sets the hovered row and opens submenus next
  to the hovered item (previously hover state was never set from the
  mouse, so '>' rows never opened their submenu)
- Menu popup: debug selectors for test automation
- viewer: transport bar renders 16px icon buttons with localized
  tooltips via a host-registered icon resolver (glyph fallback kept)
- new icons.rs (theme-aware icon resolver) and tooltip.rs helpers
This commit is contained in:
2026-08-11 00:23:59 +08:00
parent 49e471ae64
commit 507d7e6e8d
5 changed files with 281 additions and 26 deletions
+2
View File
@@ -24,6 +24,7 @@ pub mod combo_box;
pub mod curve_editor;
pub mod dialog;
pub mod i18n;
pub mod icons;
pub mod keyable;
pub mod menu;
pub mod project_explorer;
@@ -32,6 +33,7 @@ pub mod scopes;
pub mod slider;
pub mod spinbox;
pub mod theme;
pub mod tooltip;
pub mod value;
pub mod viewer;