mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
Fixed getFrameCount for attachment timelines, issue #62
This commit is contained in:
parent
bb403132c0
commit
661c39cca5
@ -455,7 +455,7 @@ spine.AttachmentTimeline = function (frameCount) {
|
||||
spine.AttachmentTimeline.prototype = {
|
||||
slotIndex: 0,
|
||||
getFrameCount: function () {
|
||||
return this.frames.length / 2;
|
||||
return this.frames.length;
|
||||
},
|
||||
setFrame: function (frameIndex, time, attachmentName) {
|
||||
this.frames[frameIndex] = time;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user