Skip to content

Commit

Permalink
Fix horizontal handles positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi committed Nov 8, 2019
1 parent 1a5b398 commit 68428eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/victory-brush-container/src/brush-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ const Helpers = {
return {
left: brushDimension !== "y" && { x1: minX - handleWidth, x2: minX + handleWidth, y1, y2 },
right: brushDimension !== "y" && { x1: maxX - handleWidth, x2: maxX + handleWidth, y1, y2 },
top: brushDimension !== "x" && { x1, x2, y1: minY + handleWidth, y2: minY - handleWidth },
bottom: brushDimension !== "x" && { x1, x2, y1: maxY + handleWidth, y2: maxY - handleWidth }
top: brushDimension !== "x" && { x1, x2, y1: minY - handleWidth, y2: minY + handleWidth },
bottom: brushDimension !== "x" && { x1, x2, y1: maxY - handleWidth, y2: maxY + handleWidth }
};
},

Expand Down

0 comments on commit 68428eb

Please sign in to comment.