From 960dbe63fd1a6612b2bf5eb1e24b73dd864e156b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20S=C3=A1nchez?= Date: Fri, 14 Jun 2024 08:50:25 +0200 Subject: [PATCH] fixes --- plugin-src/transformers/partials/transformChildren.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin-src/transformers/partials/transformChildren.ts b/plugin-src/transformers/partials/transformChildren.ts index 02093c59..6a944713 100644 --- a/plugin-src/transformers/partials/transformChildren.ts +++ b/plugin-src/transformers/partials/transformChildren.ts @@ -13,6 +13,7 @@ export const transformChildren = async ( ): Promise => { const maskIndex = node.children.findIndex(nodeActsAsMask); const containsMask = maskIndex !== -1; + return { children: containsMask ? await translateMaskChildren(node.children, maskIndex, baseX, baseY)