Skip to content

Commit

Permalink
Fix orientation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
koenbok committed Apr 3, 2015
1 parent 1e8c7c1 commit c9b3cb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framer/Animation.coffee
Expand Up @@ -45,7 +45,7 @@ class exports.Animation extends EventEmitter


super options super options


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


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

0 comments on commit c9b3cb0

Please sign in to comment.