Fix a brace lost in the rebase

This commit is contained in:
Brandon Thomas
2026-10-12 18:01:40 -04:00
parent 35229a6409
commit 64720de9a3
2 changed files with 3 additions and 5 deletions
+1
View File
@@ -513,6 +513,7 @@ fn walk_shapes_mut(shapes: &mut [deckcraft_model::Shape], f: &mut dyn FnMut(&mut
walk_shapes_mut(children, f);
}
}
}
/// `a:tblStyleLst`: the table styles the file defines.
fn table_styles(imp: &mut Imp, part: &Part, root: &El) -> Vec<deckcraft_model::table::TableStyleDef> {
+2 -5
View File
@@ -404,11 +404,8 @@ fn table(imp: &mut Imp, part: &Part, tbl: &El) -> Table {
// A style the file defines is drawn from its definition (by its GUID).
// DeckCraft's own styles (written with GUIDs derived from their ids) map back to them.
let up = id.trim().to_ascii_uppercase();
t.style = if imp.table_style_ids.contains(&up) && !crate::tables::is_own_guid(&up) {
up
} else {
crate::tables::style_from_guid(id.trim())
};
t.style =
if imp.table_style_ids.contains(&up) && !crate::tables::is_own_guid(&up) { up } else { crate::tables::style_from_guid(id.trim()) };
}
}
t.cols = tbl