Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Avoid creating to animation loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin MOIZARD-LANVIN committed Apr 19, 2016
1 parent 2ecb247 commit 0812a4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion paper-ripple.html
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,9 @@
ripple.upAction(event);
});

this.animate();
if (!this._animating) {
this.animate();
}
},

onAnimationComplete: function() {
Expand Down

0 comments on commit 0812a4d

Please sign in to comment.