Permalink
Browse files

Cleanup

  • Loading branch information...
koenbok committed Jul 28, 2016
1 parent d071ba4 commit cc13ef9c1a314ce7c5e070f68a29609c16a393b2
Showing with 4 additions and 5 deletions.
  1. +4 −5 framer/Layer.coffee
@@ -1275,6 +1275,10 @@ class exports.Layer extends BaseClass
showHint: (highlightFrame) ->
# Don't show anything if this element covers the entire screen
# if Utils.frameInFrame(@context.canvasFrame, highlightFrame)
# return
# Start an animation with a rectangle fading out over time
layer = new Layer
frame: Utils.frameInset(highlightFrame, -1)
@@ -1283,11 +1287,6 @@ class exports.Layer extends BaseClass
borderRadius: @borderRadius * Utils.average([@canvasScaleX(), @canvasScaleY()])
borderWidth: 3
# Only show outlines if a highlight is fullscreen
# if Utils.frameInFrame(@context.canvasFrame, highlightFrame)
# layer.backgroundColor = null
# layer.borderColor = new Color("9013FE").alpha(.5)
animation = layer.animate
properties: {opacity: 0}
curve: "ease-out"

0 comments on commit cc13ef9

Please sign in to comment.