updated shadedProcess shape

This commit is contained in:
omkarht 2024-08-23 19:09:35 +05:30
parent db1db1ab0e
commit 99f7d65f47

View File

@ -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);