Permalink
Browse files

Update Utils.coffee

  • Loading branch information...
Benjamin den Boer
Benjamin den Boer committed Mar 27, 2015
1 parent e798718 commit 86b7691c5b9185e3ee27e8d61aabafcf74af4f01
Showing with 3 additions and 3 deletions.
  1. +3 −3 framer/Utils.coffee
@@ -466,9 +466,9 @@ Utils.pointAbs = (point) ->
y: Math.abs point.y
Utils.pointInFrame = (point, frame) ->
return false if point.x < frame.minX or point.x > frame.maxX
return false if point.y < frame.minY or point.y > frame.maxY
true
return false if point.x < Utils.frameGetMinX(frame) or point.x > Utils.frameGetMaxX(frame)
return false if point.y < Utils.frameGetMinY(frame) or point.y > Utils.frameGetMaxY(frame)
return true
# Size

0 comments on commit 86b7691

Please sign in to comment.