From 5744a52e1e08cb1aca5c20b6e6ce5908109772f9 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Fri, 20 Nov 2026 17:13:07 -0800 Subject: [PATCH] Control bar: the narrow-window test checks Crop Image's Apply and Cancel The wide-window case for the Crop Image tool now also expects Apply and Cancel, so the test fails if either button is left out of the Control bar in a wide window. --- crates/ui-egui/src/chrome/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/chrome/tests.rs b/crates/ui-egui/src/chrome/tests.rs index 3b889b1f09..3a62cd2a23 100644 --- a/crates/ui-egui/src/chrome/tests.rs +++ b/crates/ui-egui/src/chrome/tests.rs @@ -4108,7 +4108,7 @@ fn the_control_bar_s_controls_stay_inside_the_bar_in_a_narrow_window() { wide(&mut app, "an embedded image", &["Unembed…", "Image Trace", "Mask", "Crop Image", "Remove Background"]); app.select_tool(vectorcraft_tools::cropimage::ID); check(&mut app, "Crop Image"); - wide(&mut app, "Crop Image", &["PPI", "X:", "Y:", "W:", "H:"]); + wide(&mut app, "Crop Image", &["PPI", "X:", "Y:", "W:", "H:", "Apply", "Cancel"]); app.select_tool("selection"); app.run("imageTrace.make", json!({"preset": "Default"})).unwrap(); let trace = selected(&app);