This commit is contained in:
NathanSweet 2016-08-21 08:23:55 +02:00
parent 8f4ad90a17
commit c59a58ae5b

View File

@ -174,7 +174,7 @@ public class AnimationState {
for (; i < n; i++) {
Event event = events.get(i);
if (event.time < trackLastWrapped) break;
if (event.time > animationEnd) continue; // Discard events out of animation start/end.
if (event.time > animationEnd) continue; // Discard events outside animation start/end.
queue.event(entry, event);
}
@ -187,7 +187,7 @@ public class AnimationState {
// Queue events after complete.
for (; i < n; i++) {
Event event = events.get(i);
if (event.time < animationStart) continue; // Discard events out of animation start/end.
if (event.time < animationStart) continue; // Discard events outside animation start/end.
queue.event(entry, events.get(i));
}
events.clear();