From 7f3656a58d7c30552251432b5ce599f6fd2d4346 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Mon, 16 Nov 2026 09:19:53 -0800 Subject: [PATCH] Fix build after merging main category_fields now returns the rows that carry a description, so the Hold Shortcut Delay test's UI closure discards the value, as the other prefs_dialog tests 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 019468f4ae..973a0111f7 100644 --- a/crates/ui-egui/src/prefs_dialog/tests.rs +++ b/crates/ui-egui/src/prefs_dialog/tests.rs @@ -1117,7 +1117,9 @@ fn hold_shortcut_delay_dims_without_hold_shortcuts() { 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(); let label = out.shapes.iter().find_map(|c| text(&c.shape, &|t| t.starts_with("Hold Shortcut Delay"))); let field = out.shapes.iter().find_map(|c| text(&c.shape, &|t| t.starts_with("0.35")));