mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-11 10:09:39 +02:00
updated shadedProcess shape
This commit is contained in:
@@ -35,8 +35,12 @@ export const shadedProcess = async (parent: SVGAElement, node: Node) => {
|
|||||||
|
|
||||||
rect.attr('class', 'basic label-container').attr('style', cssStyles);
|
rect.attr('class', 'basic label-container').attr('style', cssStyles);
|
||||||
|
|
||||||
if (nodeStyles) {
|
if (nodeStyles && node.look !== 'handDrawn') {
|
||||||
rect.attr('style', nodeStyles);
|
rect.selectAll('path').attr('style', nodeStyles);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (cssStyles && node.look !== 'handDrawn') {
|
||||||
|
rect.selectAll('path').attr('style', nodeStyles);
|
||||||
}
|
}
|
||||||
|
|
||||||
updateNodeBounds(node, rect);
|
updateNodeBounds(node, rect);
|
||||||
|
Reference in New Issue
Block a user