From 48a80a702d9a918c807c668280aa9d39229343d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20S=C3=A1nchez?= Date: Mon, 15 Apr 2024 14:17:22 +0200 Subject: [PATCH] opacity --- plugin-src/transformers/transformRectangleNode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-src/transformers/transformRectangleNode.ts b/plugin-src/transformers/transformRectangleNode.ts index be96050..c4e43e7 100644 --- a/plugin-src/transformers/transformRectangleNode.ts +++ b/plugin-src/transformers/transformRectangleNode.ts @@ -13,7 +13,7 @@ export const transformRectangleNode = ( name: node.name, fills: translateFills(node.fills, node.width, node.height), 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) }; };