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