NathanSweet 12 年之前
父節點
當前提交
7f73966738
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-js/spine.js

+ 1 - 1
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;