Skip to content

Commit

Permalink
west ports top to bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
forresto committed Oct 25, 2013
1 parent d346379 commit e72e9f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions the-graph-port/the-graph-port.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
function getPortDegrees (index, ports, side) {
var inside = getPortInSide(index, ports);
var absolute = sides[side] + inside;
if (side==="west") {
absolute = sides["north"] - inside;
}
if (absolute > 360) {
absolute -= 360;
}
Expand Down

0 comments on commit e72e9f6

Please sign in to comment.