P1e: persist undo and redo history across reloads
This commit is contained in:
@@ -160,3 +160,7 @@ The project is loaded by the daemon from its `--project` folder and saved after
|
||||
## P1d additions
|
||||
|
||||
`Command::set_core_faces` takes `{ core, boundaries: [f32; 17] }` (seconds, strictly ascending). The daemon answers with the state and broadcasts `core_faces { core: CoreSummary }`. The core rejects unordered or out-of-range boundaries. Boundaries are persisted in the project's `cores.faces` column and applied after the asset is decoded again on load; the source bytes and peaks stay unchanged.
|
||||
|
||||
## P1e addition
|
||||
|
||||
No new wire messages. The daemon now persists the session's bounded `history` and `redo` stacks in the project and restores them on load; `State.can_undo`/`can_redo` therefore describe the restored stacks after a restart. The stacks are server-side JSON snapshots of bpm, gains, pattern and core face boundaries.
|
||||
|
||||
Reference in New Issue
Block a user