mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
f6bf77f3e0
GSAP applies a fromTo()'s `from` vars to the DOM at authoring time regardless of timeline position. When the SAME string-literal selector gets 2+ fromTo() calls with no earlier tl.set()/gsap.set() baseline, the LAST-authored `from` value becomes the resting state for any seek before the first tween, e.g. a z-index:999 overlay rendered solid black across ~40% of the timeline while lint/validate/inspect passed clean. New rule gsap_repeated_fromto_without_baseline extends the existing gsap static analysis: warns (not errors) when a byte-identical string-literal selector has 2+ fromTo windows and no set() baseline for it. Conservative to avoid the repo's history of gsap false positives: literal selectors only, skipped when any set targets the same literal, skipped for dynamic selectors.