Skip to content

Commit

Permalink
Fix lack of delay making animation fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorl17 committed Jan 15, 2016
1 parent 0438fd1 commit 4079b6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dist/deck.js
Expand Up @@ -242,6 +242,7 @@ var Deck = (function () {
var startX, startY, startRot;
var diffX, diffY, diffRot;

delay = delay || 0;
animationFrames(delay, duration).start(function () {
startX = self.x || 0;
startY = self.y || 0;
Expand Down

0 comments on commit 4079b6e

Please sign in to comment.