Skip to content

Commit

Permalink
Increase code readability
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiia-gontarieva authored Oct 3, 2020
1 parent 25e5961 commit 0a3a0b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/visx-pattern/src/patterns/Lines.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function pathForOrientation({
return `M 0,0 l ${height},${height}
M ${-height / 4},${(3 / 4) * height} l ${height / 2},${height / 2}
M ${(3 / 4) * height},${-height / 4} l ${height / 2},${height / 2}`;
case PatternOrientation.vertical:
default:
return `M ${height / 2}, 0 l 0, ${height}`;
}
Expand Down

0 comments on commit 0a3a0b5

Please sign in to comment.