Skip to content

Commit

Permalink
updated tiltedCylinder shape
Browse files Browse the repository at this point in the history
  • Loading branch information
omkarht committed Aug 23, 2024
1 parent 46b8fad commit f424a51
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ export const tiltedCylinder = async (parent: SVGAElement, node: Node) => {
const cylinderNode = rc.path(cylinderPath, options);

const innerPath = createInnerPathD(rx, ry, w, h);
const innerNode = rc.path(innerPath, options);
const innerNode = rc.path(innerPath, { ...options, fill: 'none' });

let tiltedCylinder = shapeSvg.insert(() => innerNode, ':first-child');
tiltedCylinder = shapeSvg.insert(() => cylinderNode, ':first-child');
const tiltedCylinder = shapeSvg.insert(() => innerNode, ':first-child');
tiltedCylinder.insert(() => cylinderNode, ':first-child');

tiltedCylinder.attr('class', 'basic label-container');

Expand Down

0 comments on commit f424a51

Please sign in to comment.