updated taggedRect Shape

This commit is contained in:
omkarht
2024-08-28 19:17:18 +05:30
parent 71753671e0
commit b3495219ae

View File

@@ -15,7 +15,7 @@ export const taggedRect = async (parent: SVGAElement, node: Node) => {
const h = Math.max(bbox.height + (node.padding ?? 0) * 2, node?.height ?? 0);
const x = -w / 2;
const y = -h / 2;
const tagWidth = 0.2 * w;
const tagWidth = 0.2 * h;
const tagHeight = 0.2 * h;
const { cssStyles } = node;