Skip to content

Commit

Permalink
fix for Issue #879
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbrent committed Jan 3, 2021
1 parent ea85a79 commit 3b82794
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gen-xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ function slideObjectToXml(slide: PresSlide | SlideLayout): string {
if (!slideItemObj.options.line && cy === 0) cy = EMU * 0.3

// Margin/Padding/Inset for textboxes
if (!slideItemObj.options._bodyProp) slideItemObj.options._bodyProp = {}
if (slideItemObj.options.margin && Array.isArray(slideItemObj.options.margin)) {
slideItemObj.options._bodyProp.lIns = valToPts(slideItemObj.options.margin[0] || 0)
slideItemObj.options._bodyProp.rIns = valToPts(slideItemObj.options.margin[1] || 0)
Expand Down

0 comments on commit 3b82794

Please sign in to comment.