mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-08 01:56:42 +02:00
updated tiltedCylinder shape
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user