Repository navigation
Conversation
`set_tempo` makes a file's `tempo { }` block another or takes it out,
answering the block as it was, comments and its place among the file's
items included. The item placing `set_palette` had is shared.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VEZZN4nU1eVZwV4ekT2St9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mtrack-corecan now set a.lightfile's tempo as an undoable operation, like the light show's other edits.Operation:
light_show.set_tempo { tempo, at }makes the file'stempo { }block another (start, BPM, time signature, changes) or, withtempo: None, takes it out. The catalogue has 16 now.checked's to say, as for every operation. Taking out the tempo of a show timed by bars, or a BPM of 0, is a document the check refuses.set_palettehad is now shared (place_item), with the same behaviour; its tests pass unchanged.Tests
On every example: the tempo set to another, taken out, and added where there was none, each taken back text for text.
a_tempo_set_and_taken_back_keeps_its_place_and_is_checked:checked.The test fails if the block's place is ignored.
Run:
cargo test -p mtrack-core -p mtrack-rules-wasm(all pass),cargo fmt --check,make lint-rust(only the existingmvr_corpuswarning), andmake build-ui+make lint-ui(0 errors).🤖 Generated with Claude Code
https://claude.ai/code/session_01VEZZN4nU1eVZwV4ekT2St9