summaryrefslogtreecommitdiff
path: root/apps/web/src/effects/registry.ts
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-07-26 22:13:01 +0200
committercashmere <cashmere@autistici.org>2026-07-26 22:13:01 +0200
commit12539fedf3020468fded3945d5dfc4c8396e7750 (patch)
treea2c4122bed6a8aa31e76d0598287afca45104541 /apps/web/src/effects/registry.ts
parent3fcf892dfa19e0fb2f1487b91971f48dcc26fc50 (diff)
downloadopencut-12539fedf3020468fded3945d5dfc4c8396e7750.tar.gz
feat: single undo step for freeze frame
The handler fired four separate commands (asset add, split, move, insert), producing four undo steps. It now builds one BatchCommand and executes it once. The new ShiftSplitRemainderCommand resolves the split's right-side elements lazily at execute() so it can be composed after the split in the batch, and rebuilds the inner move on redo since a re-executed split generates fresh element ids.
Diffstat (limited to 'apps/web/src/effects/registry.ts')
0 files changed, 0 insertions, 0 deletions