Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
Fix point ordering in Box.corners()
Browse files Browse the repository at this point in the history
  • Loading branch information
nateabele committed Apr 29, 2015
1 parent bf8636e commit b48cdb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Box.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class Box {
bottomRight = topRight.add(new Point(0, this.height)),
bottomLeft = topLeft.add(new Point(0, this.height));

return [topLeft, topRight, bottomLeft, bottomRight];
return [topLeft, topRight, bottomRight, bottomLeft];
}

// @TODO: Move to Point
Expand Down

0 comments on commit b48cdb7

Please sign in to comment.