Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Simplify if statement
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
framer/Animation.coffee
|
@@ -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: => |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.