mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Fixed ColorTimeline.setFrame bug
".. x, y)" should be ".. r, g, b, a)"
This commit is contained in:
parent
ab8a08c8cb
commit
50a0c3045e
@ -389,7 +389,7 @@ spine.ColorTimeline.prototype = {
|
||||
getFrameCount: function () {
|
||||
return this.frames.length / 2;
|
||||
},
|
||||
setFrame: function (frameIndex, time, x, y) {
|
||||
setFrame: function (frameIndex, time, r, g, b, a) {
|
||||
frameIndex *= 5;
|
||||
this.frames[frameIndex] = time;
|
||||
this.frames[frameIndex + 1] = r;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user