Permalink
Browse files

Merge pull request #199 from ryngonzalez/patch-1

Bugfix: Map over points array vs. non-existent point variable.
  • Loading branch information...
koenbok committed Apr 9, 2015
2 parents bf78d4f + b981855 commit 7ff051564ff6f263735bca63787b4c33ae00b348
Showing with 4 additions and 4 deletions.
  1. +4 −4 framer/Utils.coffee
@@ -501,14 +501,14 @@ Utils.pointZero = (args={}) ->
Utils.pointMin = ->
points = Utils.arrayFromArguments arguments
point =
x: _.min point.map (size) -> size.x
y: _.min point.map (size) -> size.y
x: _.min points.map (size) -> size.x
y: _.min points.map (size) -> size.y
Utils.pointMax = ->
points = Utils.arrayFromArguments arguments
point =
x: _.max point.map (size) -> size.x
y: _.max point.map (size) -> size.y
x: _.max points.map (size) -> size.x
y: _.max points.map (size) -> size.y
Utils.pointDistance = (pointA, pointB) ->
distance =

0 comments on commit 7ff0515

Please sign in to comment.