Merge pull request #132 from presenton/fix/presentation-export

fix(nextjs): parses border radius to int
This commit is contained in:
Saurav Niraula 2025-07-24 00:27:35 +05:45 committed by GitHub
commit e233d3d6c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
};
}