diff --git a/plugin-src/transformers/partials/transformCornerRadius.ts b/plugin-src/transformers/partials/transformCornerRadius.ts index f8a876b2..0ac013ee 100644 --- a/plugin-src/transformers/partials/transformCornerRadius.ts +++ b/plugin-src/transformers/partials/transformCornerRadius.ts @@ -8,7 +8,10 @@ const isRectangleCornerMixin = ( export const transformCornerRadius = ( node: CornerMixin | (CornerMixin & RectangleCornerMixin) -): Pick | Pick | undefined => { +): + | Pick + | Pick + | undefined => { if (isRectangleCornerMixin(node)) { return { r1: node.topLeftRadius, @@ -20,7 +23,8 @@ export const transformCornerRadius = ( if (node.cornerRadius !== figma.mixed) { return { - rx: node.cornerRadius + rx: node.cornerRadius, + ry: node.cornerRadius }; } };