Change bleed to bleedSize

This commit is contained in:
David Bolack
2026-08-07 10:52:14 -05:00
parent 1472e39bc8
commit ed2b246494
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ const splitTextStyleAndMetadata = (brew)=>{
Object.assign(brew, _.pick(metadata, ['title', 'description', 'renderer', 'theme', 'lang']));
brew.snippets = yamlSnippetsToText(_.pick(metadata, ['snippets']).snippets || '');
brew.bleed = { top: metadata.bleed?.top, bottom: metadata.bleed?.bottom, inner: metadata.bleed?.inner, outer: metadata.bleed?.outer };
brew.bleedSize = { top: metadata.bleedSize?.top, bottom: metadata.bleedSize?.bottom, inner: metadata.bleedSize?.inner, outer: metadata.bleedSize?.outer };
brew.safetySpace = { top: metadata.safetySpace?.top, bottom: metadata.safetySpace?.bottom, outer: metadata.safetySpace?.outer, inner: metadata.safetySpace?.inner };
brew.trimSize = { width: metadata.trimSize?.width, height: metadata.trimSize?.height };
brew.columns = metadata?.columns;