mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 13:59:54 +02:00
fixed multirect for shadow
This commit is contained in:
@@ -56,8 +56,8 @@ export const multiRect = async (parent: SVGAElement, node: Node) => {
|
||||
const innerPath = createPathFromPoints(innerPathPoints);
|
||||
const innerNode = rc.path(innerPath, { ...options, fill: 'none' });
|
||||
|
||||
const multiRect = shapeSvg.insert(() => innerNode, ':first-child');
|
||||
multiRect.insert(() => outerNode, ':first-child');
|
||||
const multiRect = shapeSvg.insert(() => outerNode, ':first-child');
|
||||
multiRect.insert(() => innerNode);
|
||||
|
||||
multiRect.attr('class', 'basic label-container');
|
||||
|
||||
|
Reference in New Issue
Block a user