Permalink
Browse files

Simplify if statement

  • Loading branch information...
nvh committed Jul 20, 2016
1 parent fe056b0 commit 066e6d8a52c7baadb57df1ce3d2191d1ca352e19
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Animation.coffee
View
@@ -73,7 +73,7 @@ class exports.Animation extends BaseClass
get: -> @options.looping
set: (value) ->
@options.looping = value
if (@options?.looping ? false) and @options?.layer? and !@isAnimating
if @options?.looping and @options?.layer? and !@isAnimating
@restart()
start: =>

0 comments on commit 066e6d8

Please sign in to comment.