Skip to content

Commit

Permalink
fix(shape/LinkHorizontalStep): render horizontally not vertically
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster authored Oct 6, 2020
1 parent 1dce7ae commit 4552c11
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export default function LinkHorizontalStep<Link, Node>({
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,
Expand Down

0 comments on commit 4552c11

Please sign in to comment.