mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 13:43:03 -05:00
opacity
This commit is contained in:
parent
0bcfd7cd71
commit
c56726bd58
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue