From 4552c11b83f94d698c3ef048db00c7104277f027 Mon Sep 17 00:00:00 2001 From: Chris Williams Date: Mon, 5 Oct 2020 20:13:35 -0700 Subject: [PATCH] fix(shape/LinkHorizontalStep): render horizontally not vertically --- .../visx-shape/src/shapes/link/step/LinkHorizontalStep.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/visx-shape/src/shapes/link/step/LinkHorizontalStep.tsx b/packages/visx-shape/src/shapes/link/step/LinkHorizontalStep.tsx index b34cd25c3..b1f77b93c 100644 --- a/packages/visx-shape/src/shapes/link/step/LinkHorizontalStep.tsx +++ b/packages/visx-shape/src/shapes/link/step/LinkHorizontalStep.tsx @@ -41,8 +41,8 @@ export default function LinkHorizontalStep({ data, path, percent = 0.5, - x = getX, - y = getY, + x = getY, // note this returns a y value + y = getX, // note this returns a x value source = getSource, target = getTarget, children,