Skip to content
Browse files

Still show hints while animating

  • Loading branch information
koenbok committed Jul 25, 2016
1 parent c997102 commit c9a02f5a3cd88473e28870ee0e4ef8181023a97c
Showing with 6 additions and 10 deletions.
  1. +6 −10 framer/
@@ -1227,15 +1227,11 @@ class exports.Layer extends BaseClass
# parent layers clip, we need to intersect the rectangle with it.
frame = @canvasFrame

return unless frame

for parent in @ancestors(context=true)
if parent.clip
parentFrame = parent.canvasFrame
if parentFrame
frame = Utils.frameIntersection(frame, parent.canvasFrame)

return unless frame
frame = Utils.frameIntersection(frame, parent.canvasFrame)
if not frame

# Show the actual hint
@@ -1257,10 +1253,10 @@ class exports.Layer extends BaseClass
shouldShowHint: (targetLayer) ->

# Don't show any hints while we are animating
return false if @isAnimating
# return false if @isAnimating

for parent in @ancestors()
return false if parent.isAnimating
# for parent in @ancestors()
# return false if parent.isAnimating

# Don't show hints if we cannot be dragged
if @_draggable

0 comments on commit c9a02f5

Please sign in to comment.