Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cenadros committed Sep 20, 2024
1 parent 55507df commit 1470c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin-src/transformers/partials/transformVectorPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export const transformVectorPaths = (node: VectorNode): PathShape[] => {

const pathShapes = node.vectorPaths
.filter((vectorPath, index) => {
return nodeHasFills(node, vectorPath, (regions ?? [])[index]) || strokeLength > 0;
return nodeHasFills(node, vectorPath, regions[index]) || strokeLength > 0;
})
.map((vectorPath, index) => transformVectorPath(node, vectorPath, (regions ?? [])[index]));
.map((vectorPath, index) => transformVectorPath(node, vectorPath, regions[index]));

const geometryShapes = node.fillGeometry
.filter(
Expand Down

0 comments on commit 1470c2d

Please sign in to comment.