diff --git a/lib/Animations/Animation.ts b/lib/Animations/Animation.ts index 2855356..74618a3 100644 --- a/lib/Animations/Animation.ts +++ b/lib/Animations/Animation.ts @@ -72,7 +72,7 @@ export class Animation { if (time > this.currentTime) { continue - } else if (time === this.currentTime) { + } else if (time === this.currentTime || i === timestamps.length - 1) { if (Array.isArray(transform)) { return transform.map((t) => typeof t === 'string' ? this.execute(t) : t