NathanSweet 12 lat temu
rodzic
commit
7f73966738
1 zmienionych plików z 1 dodań i 1 usunięć
  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;