Files
effectcraft/crates
Bar BorerandClaude Opus 5.5 672f776f99 Timeline: box selection selects keyframes live while it's dragged (#2858) (#2952)
* Timeline: box selection selects keyframes live while it is dragged (#2858)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Timeline: a Cmd/Ctrl box over keys alone adds to the selection, as Shift does (#2858)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Timeline: a box over keys alone clears the earlier selection first, as main's box does (#2858)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #2858: marquee keeps its live selection in the UI and commits through commands

While a Timeline box is dragged, what it would select is a UI-side preview
(`TimelineState::marquee_preview`) that the rows draw as the selection; the
engine's selection is not written. The release runs main's `layer.select` and
`keys.select`, and Escape or any other end just drops the preview, so the
direct `Before::restore` writes are gone and the command journal replays to
the live selection (AGENTS.md rule 14).

Tests replay the journal on a fresh session after a Shift box that grows and
shrinks, and after a box cancelled with Escape; both fail on the previous
commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-01 10:51:45 +01:00
..