mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 10:37:03 -06:00
Timeline::with found trigger sequences with Vec::contains and then rescanned every animation once per sequence, and checked MAX_EFFECTS only after a match, so a slide with many distinct triggers cost quadratic work before the effect cap could stop it. Animations are now grouped once (an index by sequence, first-appearance order kept, main first), the build stops at MAX_EFFECTS before the next sequence, and paragraph groups are deduplicated with a set instead of Vec::contains. Co-authored-by: Cursor <cursoragent@cursor.com>