Skip to content

Commit

Permalink
Add comment about extra event
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh committed Oct 10, 2016
1 parent 27d0b00 commit 81ca90f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framer/LayerStateMachine.coffee
Expand Up @@ -55,6 +55,7 @@ class exports.LayerStateMachine extends BaseClass

# In the case of instant: true, onStart and onStop are called from within animation.start()
# This function is called once after animation.start() or in onStart, whichEver comes first.
# We could fix this by adding another event that fires before a delayed animation is started
stateSwitched = false
switchState = =>
return if stateSwitched
Expand Down

0 comments on commit 81ca90f

Please sign in to comment.