mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 10:17:02 -06:00
`command.batch` rolls a failed batch back through each document's interaction, which restored the art, the selection, the current layer and isolation but not the highlighted Layers panel rows. A batch whose `layer.setCurrent` step ran before a later step failed left that layer's row highlighted, so a following Collect in New Layer collected the layer instead of the selected art. The failed batch isn't journaled, so replaying the journal gave a different document: the `journal_replay_reproduces_document` property test failed whenever it drew that sequence. The interaction now keeps the highlighted rows too, which also puts them back when a drag is cancelled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>