0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2025-01-03 05:10:13 -05:00
This commit is contained in:
Alex Sánchez 2024-04-15 14:17:22 +02:00
parent c56726bd58
commit 48a80a702d
No known key found for this signature in database
GPG key ID: 68A95170EEB87E16

View file

@ -13,7 +13,7 @@ export const transformRectangleNode = (
name: node.name, name: node.name,
fills: translateFills(node.fills, node.width, node.height), fills: translateFills(node.fills, node.width, node.height),
blendMode: translateBlendMode(node.blendMode), blendMode: translateBlendMode(node.blendMode),
opacity: !node.visible ? 0 : node.opacity, opacity: !node.visible ? 0 : node.opacity, //@TODO: check this. If we use the property hidden and it's hidden, it won't export
...transformDimensionAndPosition(node, baseX, baseY) ...transformDimensionAndPosition(node, baseX, baseY)
}; };
}; };