Remove a little improvement

This commit is contained in:
Pierre HUBERT 2023-08-26 15:00:00 +02:00
parent 96ca6fd7af
commit 966bae979b

View File

@ -113,11 +113,8 @@ function buildSimpleDownTreeNode(
if (node.spouse) {
levelWidth =
SPOUSE_SPACING +
2 *
Math.max(
memberCardWidth(node.member),
memberCardWidth(node.spouse.member)
);
memberCardWidth(node.member) +
memberCardWidth(node.spouse.member);
} else {
levelWidth = memberCardWidth(node.member);
}