mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
updated shadedProcess shape
This commit is contained in:
parent
db1db1ab0e
commit
99f7d65f47
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user