From 9bcdf8674e43e342f2e2c79c2725728186a96b50 Mon Sep 17 00:00:00 2001 From: Bijosh T J Date: Sat, 28 Feb 2015 10:28:21 +0530 Subject: [PATCH] Modified to fix issue of delay b/w animation loop in not applying. When animation is triggered by start animation, after triggering animation loop, it comes back to default animation, but delay specified was not being applied b/w animation loops. Conflicts: src/ui/SpriteView.js --- src/ui/SpriteView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/SpriteView.js b/src/ui/SpriteView.js index 4033d19b..0c7f6601 100644 --- a/src/ui/SpriteView.js +++ b/src/ui/SpriteView.js @@ -237,7 +237,7 @@ var SpriteView = exports = Class("SpriteView", ImageView, function (logger, supr if (!this._opts.loop) { this.stopAnimation(); } else { - this.startAnimation(this._opts.defaultAnimation); + this.startAnimation(this._opts.defaultAnimation, this._opts); } };