mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-15 22:08:03 +00:00
The GSAP introspection in collectRuntimeTimelinePayload used tween.duration() to compute scene clip ranges, which returns the base duration of a single cycle. For tweens with repeat/yoyo, the actual time range is tween.totalDuration() (base * (repeat+1)). This caused scene clips to appear shorter than their visible duration in the timeline UI — e.g. a 12s repeating animation showed as 0.75s. Use totalDuration() when available (GSAP 3+), falling back to duration() for timelines that don't expose it.