Skip to content
Permalink
Browse files

Add some examples for hints

  • Loading branch information
koenbok committed Jul 25, 2016
1 parent ecb9956 commit 193f74c5754bfd2c990db4ec08aee8e634b3ba56
Showing with 7 additions and 0 deletions.
  1. +7 −0 framer/Utils.coffee
@@ -865,6 +865,13 @@ Utils.frameMerge = ->

frame

Utils.frameInFrame = (frameA, frameB) ->

for point in Utils.pointsFromFrame(frameA)
return false unless Utils.pointInFrame(point, frameB)

return true

Utils.framePointForOrigin = (frame, originX, originY) ->
frame =
x: frame.x + (originX * frame.width)

0 comments on commit 193f74c

Please sign in to comment.