Skip to content

Commit

Permalink
updated shadedProcess shape
Browse files Browse the repository at this point in the history
  • Loading branch information
omkarht committed Aug 23, 2024
1 parent db1db1a commit 99f7d65
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 99f7d65

Please sign in to comment.