Skip to content

Commit

Permalink
Update Utils.coffee
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin den Boer committed Mar 27, 2015
1 parent e798718 commit 86b7691
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framer/Utils.coffee
Expand Up @@ -466,9 +466,9 @@ Utils.pointAbs = (point) ->
y: Math.abs point.y y: Math.abs point.y


Utils.pointInFrame = (point, frame) -> Utils.pointInFrame = (point, frame) ->
return false if point.x < frame.minX or point.x > frame.maxX return false if point.x < Utils.frameGetMinX(frame) or point.x > Utils.frameGetMaxX(frame)
return false if point.y < frame.minY or point.y > frame.maxY return false if point.y < Utils.frameGetMinY(frame) or point.y > Utils.frameGetMaxY(frame)
true return true


# Size # Size


Expand Down

0 comments on commit 86b7691

Please sign in to comment.