From a9f4d92d5a333149bb36f2c8f3e0d71ab089c40a Mon Sep 17 00:00:00 2001 From: Nigel Ihza Firdausy <106657905+Ni-zav@users.noreply.github.com> Date: Sun, 11 Oct 2026 04:55:57 +0700 Subject: [PATCH] test(timeline): avoid overlapping harness borrows in multi-drop regression --- crates/ui-egui/tests/ui_drag_drop.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/tests/ui_drag_drop.rs b/crates/ui-egui/tests/ui_drag_drop.rs index a7254235..fc6a9a69 100644 --- a/crates/ui-egui/tests/ui_drag_drop.rs +++ b/crates/ui-egui/tests/ui_drag_drop.rs @@ -248,7 +248,8 @@ fn multiple_selected_footage_dropped_on_empty_timeline_asks_how_to_create_comps( let mut h = Harness::builder().with_size(vec2(1600.0, 1000.0)).build_eframe(|_| EffectcraftApp::new(s)); h.run_steps(3); let from = rect(&h, &format!("project.item.{first}.name")).center(); - drag(&mut h, from, rect(&h, "panel.Timeline").center(), Modifiers::NONE); + let to = rect(&h, "panel.Timeline").center(); + drag(&mut h, from, to, Modifiers::NONE); assert_eq!(h.state().dialog, Some(effectcraft_ui_egui::Dialog::Form)); assert!(h.state().auto.find("form.field.single").is_some()); assert!(h.state().session.active_comp().is_none(), "no composition until the user chooses");