diff --git a/crates/ui-egui/src/panels/tests_strokeux.rs b/crates/ui-egui/src/panels/tests_strokeux.rs index 7de3fc1631..2c7203270a 100644 --- a/crates/ui-egui/src/panels/tests_strokeux.rs +++ b/crates/ui-egui/src/panels/tests_strokeux.rs @@ -249,7 +249,7 @@ fn a_spinner_step_from_a_weight_shown_as_a_preset_moves_past_it() { fn weight_spinner_rect(ctx: &egui::Context, app: &mut VectorcraftApp) -> egui::Rect { let mut out = ctx.run_ui(egui::RawInput::default(), |ui| stroke::show(app, ui)); out.textures_delta.clear(); - let nodes =&out.platform_output.accesskit_update.as_ref().expect("accessibility is on").nodes; + let nodes = &out.platform_output.accesskit_update.as_ref().expect("accessibility is on").nodes; let b = nodes.iter().find(|(_, n)| n.label() == Some("Step up or down")).expect("the weight spinner").1.bounds().expect("its bounds"); egui::Rect::from_min_max(egui::pos2(b.x0 as f32, b.y0 as f32), egui::pos2(b.x1 as f32, b.y1 as f32)) }