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
fix(mobile): the window keeps out of the system's bars
Jareer15577c1c65a0
diff --git a/engine/crates/concat/ui/app.slint b/engine/crates/concat/ui/app.slintindex 860aa090..ba635936 100644--- a/engine/crates/concat/ui/app.slint+++ b/engine/crates/concat/ui/app.slint@@ -372,6 +372,15 @@ export component App inherits Window {VerticalLayout {width: 100%;height: 100%;+ // Inside the system's own bars. A phone or a tablet draws the+ // window edge to edge, under the status bar and the home+ // indicator, and the window says how far each reaches in; the+ // title strip and everything under it start below it, and the+ // ground shows through behind the bars. Zero on a desktop.+ padding-top: root.safe-area-insets.top;+ padding-bottom: root.safe-area-insets.bottom;+ padding-left: root.safe-area-insets.left;+ padding-right: root.safe-area-insets.right;TitleBar {macos: root.macos;@@ -381,9 +390,10 @@ export component App inherits Window {menu: root.open-menu;menu-opened(index, at-x) => {- appmenu.request-x = at-x;- // Under the strip, which is 32px tall.- appmenu.request-y = 32px;+ // Under the strip, which is 32px tall - both measured+ // from the window's corner, past the system's bars.+ appmenu.request-x = at-x + root.safe-area-insets.left;+ appmenu.request-y = 32px + root.safe-area-insets.top;root.menu-opened(index);}