From 7f73966738a530ec82eb26bae1c4c149af4294b6 Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Fri, 16 Aug 2013 13:36:48 +0200 Subject: [PATCH] Fixed #106. --- spine-js/spine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-js/spine.js b/spine-js/spine.js index cbdb055a2..673e13d35 100644 --- a/spine-js/spine.js +++ b/spine-js/spine.js @@ -387,7 +387,7 @@ spine.ColorTimeline = function (frameCount) { spine.ColorTimeline.prototype = { slotIndex: 0, getFrameCount: function () { - return this.frames.length / 2; + return this.frames.length / 5; }, setFrame: function (frameIndex, time, r, g, b, a) { frameIndex *= 5;