From d0f7721d1d7340aab811053ccc765bfa42ba550e Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Mon, 16 Nov 2026 09:29:23 -0800 Subject: [PATCH] Tests: fix build after merging main into feat/tool-cards category_fields now returns the rows that carry descriptions, so the Show Tool Cards test discards that value in a block, as the other tests that call it do. --- crates/ui-egui/src/prefs_dialog/tests.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/prefs_dialog/tests.rs b/crates/ui-egui/src/prefs_dialog/tests.rs index 879e5e2595..316ca08297 100644 --- a/crates/ui-egui/src/prefs_dialog/tests.rs +++ b/crates/ui-egui/src/prefs_dialog/tests.rs @@ -1155,7 +1155,9 @@ fn show_tool_cards_dims_without_tool_tips() { events, ..Default::default() }; - let mut out = ctx.run_ui(raw, |ui| category_fields(ui, &mut a, d, "General")); + let mut out = ctx.run_ui(raw, |ui| { + category_fields(ui, &mut a, d, "General"); + }); out.textures_delta.clear(); out.shapes.iter().find_map(|c| label(&c.shape, "Show Tool Cards")) };