mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 14:29:25 +02:00
Update multiwaveEdgeRect styles
This commit is contained in:
@@ -78,12 +78,12 @@ export const multiWaveEdgedRectangle = async (parent: SVGAElement, node: Node) =
|
|||||||
|
|
||||||
shape.attr('class', 'basic label-container');
|
shape.attr('class', 'basic label-container');
|
||||||
|
|
||||||
if (cssStyles) {
|
if (cssStyles && node.look !== 'handDrawn') {
|
||||||
shape.attr('style', cssStyles);
|
shape.selectAll('path').attr('style', cssStyles);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nodeStyles) {
|
if (nodeStyles && node.look !== 'handDrawn') {
|
||||||
shape.attr('style', nodeStyles);
|
shape.selectAll('path').attr('style', nodeStyles);
|
||||||
}
|
}
|
||||||
|
|
||||||
shape.attr('transform', `translate(0,${-waveAmplitude / 2})`);
|
shape.attr('transform', `translate(0,${-waveAmplitude / 2})`);
|
||||||
|
Reference in New Issue
Block a user