mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-19 00:06:42 +08:00
Fixed #106.
This commit is contained in:
parent
8e393a8cd5
commit
7f73966738
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user