Skip to content

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

Keyframe cluster trails the number field on a one-line Param

Jareer13a382fb3430
diff --git a/engine/crates/concat/ui/inspector/controls.slint b/engine/crates/concat/ui/inspector/controls.slint
index ceea9b16..a15de9b6 100644
--- a/engine/crates/concat/ui/inspector/controls.slint
+++ b/engine/crates/concat/ui/inspector/controls.slint
@@ -455,14 +455,6 @@ export component Param inherits VerticalLayout {
vertical-alignment: center;
}
- // On the readout's side rather than under the slider: the cluster is
- // about the value, and the value is what it sits beside.
- if root.keyable: Rectangle { width: 6px; }
- if root.keyable: VerticalLayout {
- alignment: center;
- KeyCluster { field: root.field; }
- }
-
if !root.slider: Rectangle { width: 8px; }
if !root.slider: NumberField {
width: 64px;
@@ -474,6 +466,15 @@ export component Param inherits VerticalLayout {
enabled: root.enabled;
changed(v) => { root.changed(v); }
}
+
+ // On the readout's side rather than under the slider, and after the
+ // number field when that is on the line: the cluster is about the
+ // value, and it trails whatever last states the value.
+ if root.keyable: Rectangle { width: 6px; }
+ if root.keyable: VerticalLayout {
+ alignment: center;
+ KeyCluster { field: root.field; }
+ }
}
if root.slider: HorizontalLayout {