Permalink
Browse files

Add comment about extra event

  • Loading branch information...
nvh committed Oct 10, 2016
1 parent 27d0b00 commit 81ca90f01406000a628b636ff97e3f9a7fecdc27
Showing with 1 addition and 0 deletions.
  1. +1 −0 framer/LayerStateMachine.coffee
@@ -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

0 comments on commit 81ca90f

Please sign in to comment.