The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
style(ui): switches are softly squared, not pills
Jareerfce6c87fa794
diff --git a/src/crates/concat/ui/inspector/controls.slint b/src/crates/concat/ui/inspector/controls.slintindex af289db2..572508a3 100644--- a/src/crates/concat/ui/inspector/controls.slint+++ b/src/crates/concat/ui/inspector/controls.slint@@ -535,7 +535,9 @@ export component Switch inherits Rectangle {width: 30px;height: 17px;- border-radius: self.height / 2;+ // Softly squared, not a pill: the thumb's corners sit concentric with+ // the track's, 2px in.+ border-radius: Theme.r-sm;background: root.checked ? Theme.accent : Theme.field-active;opacity: root.enabled ? 1.0 : 0.45;@@ -546,7 +548,7 @@ export component Switch inherits Rectangle {y: (parent.height - self.height) / 2;width: 13px;height: 13px;- border-radius: self.width / 2;+ border-radius: Theme.r-xs;background: Theme.on-accent;animate x { duration: 120ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }diff --git a/src/crates/concat/ui/primitives/modal.slint b/src/crates/concat/ui/primitives/modal.slintindex 1d303b19..3db1aca2 100644--- a/src/crates/concat/ui/primitives/modal.slint+++ b/src/crates/concat/ui/primitives/modal.slint@@ -509,7 +509,7 @@ export component DialogSection inherits VerticalLayout {}}- // The same pill as the inspector's Switch, drawn from `on`+ // The same switch as the inspector's, drawn from `on`// rather than holding a checked state of its own.if root.switchable: VerticalLayout {alignment: center;@@ -517,7 +517,7 @@ export component DialogSection inherits VerticalLayout {Rectangle {width: 30px;height: 17px;- border-radius: self.height / 2;+ border-radius: Theme.r-sm;background: root.on ? Theme.accent : Theme.field-active;animate background { duration: 120ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }@@ -527,7 +527,7 @@ export component DialogSection inherits VerticalLayout {y: (parent.height - self.height) / 2;width: 13px;height: 13px;- border-radius: self.width / 2;+ border-radius: Theme.r-xs;background: Theme.on-accent;animate x { duration: 120ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }