From 116b5de136756a82e1bb73b9894ef1496993c026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katharina=20W=C3=BCnsche?= Date: Tue, 23 Jul 2024 14:31:14 +0200 Subject: [PATCH] Adjust button placement --- components/family-tree.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/family-tree.vue b/components/family-tree.vue index 5d5a80c..dbadf8d 100644 --- a/components/family-tree.vue +++ b/components/family-tree.vue @@ -83,7 +83,7 @@ function drawChildConnections() { overlays.push({ type: "Custom", options: { - location: 12, + location: 8, create() { const d = document.createElement("button"); d.innerHTML = `${t("FamilyTree.collapse-children")}`; @@ -105,7 +105,7 @@ function drawChildConnections() { target: child, connector: { type: FlowchartConnector.type, - options: { midpoint: 0.9999, stub: [12, 20], alwaysRespectStubs: true }, + options: { midpoint: 0.9999, stub: [16, 20], alwaysRespectStubs: true }, }, anchors: [AnchorLocations.Bottom, AnchorLocations.Top], endpoint: BlankEndpoint.type,