mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 20:19:44 +00:00
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.
This commit is contained in:
@@ -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")));
|
||||
|
||||
Reference in New Issue
Block a user