Merge pull request #132 from presenton/fix/presentation-export
fix(nextjs): parses border radius to int
This commit is contained in:
commit
e233d3d6c1
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ function convertToAutoShapeBox(element: ElementAttributes): PptxAutoShapeBoxMode
|
|||
shadow,
|
||||
position,
|
||||
text_wrap: element.textWrap ?? true,
|
||||
border_radius: element.borderRadius ? element.borderRadius[0] : undefined,
|
||||
border_radius: element.borderRadius ? Math.round(element.borderRadius[0]) : undefined,
|
||||
paragraphs
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue