mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 11:23:43 +01:00
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.
This commit is contained in:
1 parent
9ad7de1d5c
commit
d0f7721d1d
1 file changed
+3
-1
@@ -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"))
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user