Open source CapCut alternative.
TypeScript
fix(app): floor task-row height to a two-line row so the elapsed time clears the controls
David Lee36776516011
diff --git a/apps/Donkey/Sources/DonkeyUI/UserQueryNotchStatusView.swift b/apps/Donkey/Sources/DonkeyUI/UserQueryNotchStatusView.swiftindex 0026284c..273b9e15 100644--- a/apps/Donkey/Sources/DonkeyUI/UserQueryNotchStatusView.swift+++ b/apps/Donkey/Sources/DonkeyUI/UserQueryNotchStatusView.swift@@ -604,11 +604,12 @@ public struct UserQueryNotchStatusView: View {}.padding(.horizontal, 12).padding(.vertical, 10)- // Tall enough that the bottom-pinned elapsed time always clears the top-pinned controls: a- // single-line row would otherwise be short enough to crowd the time right under the close- // button, while a multi-line row sits them comfortably apart — so short and tall rows space- // the time identically.- .frame(minHeight: 64)+ // The elapsed time is pinned to the cell bottom and the controls to the cell top, so a short+ // single-line row crowds the time right under the close button while a multi-line row spaces+ // them comfortably apart. Floor the row height to a two-line row's height so a one- or two-line+ // row renders at the same height and places the time identically; only genuinely long detail+ // grows past it (and never crowds the time).+ .frame(minHeight: 72).background(Color.white.opacity(0.07)).clipShape(RoundedRectangle(cornerRadius: 8, style: .continuous)).contentShape(RoundedRectangle(cornerRadius: 8, style: .continuous))