EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust
Review: Delete in the render queue does nothing while a menu is open
vangel767c8ea2713df4
diff --git a/crates/ui-egui/src/panels/render_queue.rs b/crates/ui-egui/src/panels/render_queue.rsindex 871c9dfeb..76000f796 100644--- a/crates/ui-egui/src/panels/render_queue.rs+++ b/crates/ui-egui/src/panels/render_queue.rs@@ -870,6 +870,7 @@ pub fn show(app: &mut EffectcraftApp, ui: &mut egui::Ui, rect: Rect) {&& !rendering&& let Some(id) = selected&& app.dialog.is_none()+ && !crate::widgets::any_menu_open(ui.ctx())&& ui.input(|i| i.key_pressed(egui::Key::Delete) || i.key_pressed(egui::Key::Backspace))// (A focused queue row is not typing; any other focused widget may be.)&& (on_row || !ui.ctx().egui_wants_keyboard_input())