diff --git a/src/core/Svg.tsx b/src/core/Svg.tsx index 983298161..37a31855a 100644 --- a/src/core/Svg.tsx +++ b/src/core/Svg.tsx @@ -39,6 +39,8 @@ export const Svg: ForwardRefComponent = /* @__PURE__ */ forw return () => strokeGeometries.forEach((group) => group && group.map((g) => g.dispose())) }, [strokeGeometries]) + let renderOrder = 0 + return ( @@ -48,7 +50,7 @@ export const Svg: ForwardRefComponent = /* @__PURE__ */ forw path.userData?.style.fill !== undefined && path.userData.style.fill !== 'none' && SVGLoader.createShapes(path).map((shape, s) => ( - + = /* @__PURE__ */ forw path.userData?.style.stroke !== undefined && path.userData.style.stroke !== 'none' && path.subPaths.map((_subPath, s) => ( - +