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 f424a51 commit a2fba02
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ export const tiltedCylinder = async (parent: SVGAElement, node: Node) => {
tiltedCylinder.attr('class', 'basic label-container');

if (cssStyles && node.look !== 'handDrawn') {
tiltedCylinder.selectChildren('path').attr('style', cssStyles);
tiltedCylinder.selectAll('path').attr('style', cssStyles);
}

if (nodeStyles && node.look !== 'handDrawn') {
tiltedCylinder.selectChildren('path').attr('style', nodeStyles);
tiltedCylinder.selectAll('path').attr('style', nodeStyles);
}

updateNodeBounds(node, tiltedCylinder);
Expand Down

0 comments on commit a2fba02

Please sign in to comment.