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

View file

@ -13,6 +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,
...transformDimensionAndPosition(node, baseX, baseY) ...transformDimensionAndPosition(node, baseX, baseY)
}; };
}; };