Corrected options rx,ry for roundedRect when not neo

This commit is contained in:
Per Brolin
2024-06-10 14:15:43 +02:00
parent 15d35387a0
commit 4eea7ff5da

View File

@@ -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: '',