FigmaToCode icon indicating copy to clipboard operation
FigmaToCode copied to clipboard

Ellipses rendered as round rectangles

Open mimshwright opened this issue 11 months ago • 1 comments

Seems like ellipses can be rendered as rounded rectangles if their width and height are not the same.

Screenshot 2025-01-13 at 13 23 38

In this case, the circle but it appears it's a rounded rectangle instead. Why is it changing the width of the element? Maybe that's a separate issue?

Maybe Ellipses should be rendered as SVG instead? See #152

mimshwright avatar Jan 13 '25 12:01 mimshwright

I realized the ellipses in my screen shot are being distorted because the frame is smaler than the contents and flex-shrink is causing them to squish.

mimshwright avatar Jan 13 '25 18:01 mimshwright