Skip to content

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

Crop rows on one line, the number field alone

Jareer7204a145f1c8
diff --git a/engine/crates/concat/ui/inspector/clip-inspector.slint b/engine/crates/concat/ui/inspector/clip-inspector.slint
index 49c39f57..1e13b6b6 100644
--- a/engine/crates/concat/ui/inspector/clip-inspector.slint
+++ b/engine/crates/concat/ui/inspector/clip-inspector.slint
@@ -930,6 +930,7 @@ export component VideoPanel inherits VerticalLayout {
}
if crop.open: SectionBody {
Param {
+ slider: false;
label: I18n.t("Left");
value <=> root.crop-left;
minimum: 0;
@@ -940,6 +941,7 @@ export component VideoPanel inherits VerticalLayout {
changed(v) => { root.set(ClipField.crop-left, v); root.commit(); }
}
Param {
+ slider: false;
label: I18n.t("Top");
value <=> root.crop-top;
minimum: 0;
@@ -950,6 +952,7 @@ export component VideoPanel inherits VerticalLayout {
changed(v) => { root.set(ClipField.crop-top, v); root.commit(); }
}
Param {
+ slider: false;
label: I18n.t("Right");
value <=> root.crop-right;
minimum: 0;
@@ -960,6 +963,7 @@ export component VideoPanel inherits VerticalLayout {
changed(v) => { root.set(ClipField.crop-right, v); root.commit(); }
}
Param {
+ slider: false;
label: I18n.t("Bottom");
value <=> root.crop-bottom;
minimum: 0;