[haxe] Port of commit 9d49999: Changed SequenceTimeline to match AttachmentTimeline behavior.

This commit is contained in:
Davide Tantillo 2024-11-15 10:42:19 +01:00
parent f64b20d17d
commit 7a028bf6dc

View File

@ -82,6 +82,11 @@ class SequenceTimeline extends Timeline implements SlotTimeline {
return;
}
if (direction == MixDirection.mixOut) {
if (blend == MixBlend.setup) slot.sequenceIndex = -1;
return;
}
if (time < frames[0]) {
if (blend == MixBlend.setup || blend == MixBlend.first)
slot.sequenceIndex = -1;