mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
parent
b5863bfacf
commit
6b20ba4e97
@ -541,7 +541,7 @@ spine.EventTimeline.prototype = {
|
|||||||
|
|
||||||
if (lastTime > time) { // Fire events after last time for looped animations.
|
if (lastTime > time) { // Fire events after last time for looped animations.
|
||||||
apply(skeleton, lastTime, Number.MAX_VALUE, firedEvents, alpha);
|
apply(skeleton, lastTime, Number.MAX_VALUE, firedEvents, alpha);
|
||||||
lastTime = -1f;
|
lastTime = -1;
|
||||||
} else if (lastTime >= frames[frameCount - 1]) // Last time is after last frame.
|
} else if (lastTime >= frames[frameCount - 1]) // Last time is after last frame.
|
||||||
return;
|
return;
|
||||||
if (time < frames[0]) return; // Time is before first frame.
|
if (time < frames[0]) return; // Time is before first frame.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user