mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-13 04:19:44 +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');
|
tiltedCylinder.attr('class', 'basic label-container');
|
||||||
|
|
||||||
if (cssStyles && node.look !== 'handDrawn') {
|
if (cssStyles && node.look !== 'handDrawn') {
|
||||||
tiltedCylinder.selectChildren('path').attr('style', cssStyles);
|
tiltedCylinder.selectAll('path').attr('style', cssStyles);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nodeStyles && node.look !== 'handDrawn') {
|
if (nodeStyles && node.look !== 'handDrawn') {
|
||||||
tiltedCylinder.selectChildren('path').attr('style', nodeStyles);
|
tiltedCylinder.selectAll('path').attr('style', nodeStyles);
|
||||||
}
|
}
|
||||||
|
|
||||||
updateNodeBounds(node, tiltedCylinder);
|
updateNodeBounds(node, tiltedCylinder);
|
||||||
|
Reference in New Issue
Block a user