mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 10:49:38 +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);
|
||||
|
||||
if (nodeStyles) {
|
||||
rect.attr('style', nodeStyles);
|
||||
if (nodeStyles && node.look !== 'handDrawn') {
|
||||
rect.selectAll('path').attr('style', nodeStyles);
|
||||
}
|
||||
|
||||
if (cssStyles && node.look !== 'handDrawn') {
|
||||
rect.selectAll('path').attr('style', nodeStyles);
|
||||
}
|
||||
|
||||
updateNodeBounds(node, rect);
|
||||
|
Reference in New Issue
Block a user