Goal: stagger on flex/grid/container applies an incremental delay to children's animations — the schema field exists but is not connected to the animator.
Invariants: stagger of 0/absent keeps current behavior; works with presets and explicit animations.
Acceptance: a flex with stagger: 0.1 and 3 children fading in shows offsets 0/0.1/0.2s (frame-sampled test).
Files: crates/rustmotion-core/src/engine/animator.rs, box_builder.rs (stagger_offset already exists in PaintCtx — verify end-to-end).
Verify: cargo test --workspace
Goal:
staggeron flex/grid/container applies an incremental delay to children's animations — the schema field exists but is not connected to the animator.Invariants: stagger of 0/absent keeps current behavior; works with presets and explicit animations.
Acceptance: a flex with
stagger: 0.1and 3 children fading in shows offsets 0/0.1/0.2s (frame-sampled test).Files:
crates/rustmotion-core/src/engine/animator.rs,box_builder.rs(stagger_offset already exists in PaintCtx — verify end-to-end).Verify:
cargo test --workspace