Menus: the Project panel's footage menu passes the keyboard navigator (#279, #290)

The footage item's context menu from #383 builds its entries with
menu_nodes, which #391 gave the menu bar's keyboard navigator and
depth; like the other context menus it passes a fresh one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bflatastic 2026-10-09 18:38:39 +07:00
parent 7a9c459e42
commit 65d2c34e54
1 changed files with 1 additions and 1 deletions

View File

@ -1711,7 +1711,7 @@ pub(crate) fn submenu_at(app: &mut EffectcraftApp, ui: &mut egui::Ui, path: &[&s
found = Some(n);
}
if let Some(n) = found {
menu_nodes(app, ui, std::slice::from_ref(n), clicked);
menu_nodes(app, ui, std::slice::from_ref(n), clicked, &mut crate::menu_keys::Nav::default(), 0);
}
if let Some((_, p)) = clicked.as_mut()
&& p.is_null()