Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

fix(monitor): a drag on a keyed position or scale keeps its key

Jareer66af06c81376
diff --git a/src/crates/concat/src/studio.rs b/src/crates/concat/src/studio.rs
index e57e8ae4..b013b606 100644
--- a/src/crates/concat/src/studio.rs
+++ b/src/crates/concat/src/studio.rs
@@ -5077,6 +5077,12 @@ impl Studio {
stretch_y: Some(after.stretch_y),
});
}
+ // A keyed property is dragged as a key at the playhead, not as
+ // its constant - see `write_keyable` - so the keys the gesture
+ // put on the echo have to be committed too, or the picture
+ // snaps back to the ride the document still holds.
+ // https://github.com/jub0t/Concat/issues/228
+ commands.extend(key_commands(&id, before, after));
// A title's wrap width, from its side grips.
if after.text != before.text {
commands.push(Command::UpdateClip {