Permalink
Browse files

Fix layer states issue

  • Loading branch information...
koenbok committed Jun 9, 2016
1 parent c48360d commit 2cc69356cd3708ae5e84a23b5ceed244298d7fdd
Showing with 2 additions and 2 deletions.
  1. +2 −2 framer/LayerStates.coffee
@@ -118,14 +118,14 @@ class exports.LayerStates extends BaseClass
@_animation.once "stop", =>
for k, v of properties
@layer[k] = v if v not in animatablePropertyKeys
# @layer[k] = v if v not in animatablePropertyKeys
@layer[k] = v unless _.isNumber(v) or Color.isColorObject(v)
# If we changed the state, we send the event that we did
if _.last(@_previousStates) isnt stateName
@emit(Events.StateDidSwitch, _.last(@_previousStates), @_currentState, @)
switchInstant: (stateName) ->
@switch(stateName, null, true)

0 comments on commit 2cc6935

Please sign in to comment.