Skip to content

Commit

Permalink
Merge pull request #847 from airbnb/chris--LinkHorizontalStep-vertica…
Browse files Browse the repository at this point in the history
…l-fix

fix(shape/LinkHorizontalStep): render horizontally not vertically
  • Loading branch information
hshoff authored Oct 6, 2020
2 parents 806fb59 + 4552c11 commit 67ec0f8
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 67ec0f8

Please sign in to comment.