mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 18:39:41 +02:00
Corrected options rx,ry for roundedRect when not neo
This commit is contained in:
@@ -6,8 +6,8 @@ export const roundedRect = async (parent: SVGAElement, node: Node) => {
|
||||
const { look } = getConfig();
|
||||
node.look = look;
|
||||
const options = {
|
||||
rx: node.look === 'neo' ? 1 : 1,
|
||||
ry: node.look === 'neo' ? 1 : 1,
|
||||
rx: node.look === 'neo' ? 1 : 5,
|
||||
ry: node.look === 'neo' ? 1 : 5,
|
||||
labelPaddingX: node.padding * 2,
|
||||
labelPaddingY: node.padding * 1,
|
||||
classes: '',
|
||||
|
Reference in New Issue
Block a user