Skip to content
Permalink
Browse files

Fix orientation bug

  • Loading branch information
koenbok committed Apr 3, 2015
1 parent 1e8c7c1 commit c9b3cb0cace12d2db836521b781fe614f0bae9f9
Showing with 2 additions and 2 deletions.
  1. +2 −2 framer/Animation.coffee
@@ -45,7 +45,7 @@ class exports.Animation extends EventEmitter

super options

@options = _.defaults options,
@options = _.clone _.defaults options,
layer: null
properties: {}
curve: "linear"
@@ -141,7 +141,7 @@ class exports.Animation extends EventEmitter

reverse: ->
# TODO: Add some tests
options = _.clone @options
options = _.clone(@options)
options.properties = @_originalState
animation = new Animation options
animation

0 comments on commit c9b3cb0

Please sign in to comment.
You can’t perform that action at this time.