Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

IDML export: the border gap overprint through main's attribute macro too

moppeeerbe7861364b87
diff --git a/crates/idml/src/export/text_attrs.rs b/crates/idml/src/export/text_attrs.rs
index 7071f68ba..557602a18 100644
--- a/crates/idml/src/export/text_attrs.rs
+++ b/crates/idml/src/export/text_attrs.rs
@@ -542,7 +542,7 @@ impl<'a> Ex<'a> {
props.push(p("ParagraphBorderGapColor", "object", self.sw(c)));
}
n!(a, el, border_gap_tint, "ParagraphBorderGapTint", pct);
- b!(border_gap_overprint, "ParagraphBorderGapOverprint");
+ b!(a, el, border_gap_overprint, "ParagraphBorderGapOverprint");
if let Some(w) = a.shading_width {
el.set("ParagraphShadingWidth", names::box_width_out(w));
}