Skip to content
Browse files

Fixing error message when using plain `Bezier` as curve

  • Loading branch information
nvh committed Feb 15, 2017
1 parent 2f2e5d3 commit 31c303b29c893de5b61077994c77f9d7764b699a
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/
@@ -86,7 +86,7 @@ class exports.Animation extends BaseClass

if _.isString @options.curve
@options.curve = Curves.fromString(@options.curve)
if @options.curve is Curves.Spring
if @options.curve is Curves.Spring or @options.curve is Curves.Bezier
@options.curve =
@_originalState = @_currentState()
@_repeatCounter = @options.repeat

0 comments on commit 31c303b

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